APIdock / Ruby
/
Browse About
method

size

v1_8_6_287 - Show latest stable - Class: Array
size()
public

Alias for #length

Related methods

  • Instance methods
  • &
  • *
  • +
  • -
  • <<
  • <=>
  • ==
  • []
  • []=
  • abbrev
  • assoc
  • at
  • clear
  • collect
  • collect!
  • compact
  • compact!
  • concat
  • dclone
  • delete
  • delete_at
  • delete_if
  • each
  • each_index
  • empty?
  • eql?
  • fetch
  • fill
  • first
  • flatten
  • flatten!
  • frozen?
  • hash
  • include?
  • index
  • indexes
  • indices
  • initialize_copy
  • insert
  • inspect
  • join
  • last
  • length
  • map
  • map!
  • nitems
  • pack
  • pop
  • pretty_print
  • pretty_print_cycle
  • push
  • quote
  • rassoc
  • reject
  • reject!
  • replace
  • reverse
  • reverse!
  • reverse_each
  • rindex
  • select
  • shift
  • size
  • slice
  • slice!
  • sort
  • sort!
  • to_a
  • to_ary
  • to_s
  • to_yaml
  • transpose
  • uniq
  • uniq!
  • unshift
  • values_at
  • yaml_initialize
  • zip
  • |
  • Class methods
  • []
  • new
APIdock API Documentation Browser

© 2026 APIdock