APIdock / Ruby
/
Browse About
method

frozen?

v2_4_6 - Show latest stable - Class: Array
frozen?()
public

Return true if this array is frozen (or temporarily frozen while being sorted). See also Object#frozen?

static VALUE
rb_ary_frozen_p(VALUE ary)
{
    if (OBJ_FROZEN(ary)) return Qtrue;
    return Qfalse;
}

Related methods

  • Instance methods
  • &
  • *
  • +
  • -
  • <<
  • <=>
  • ==
  • []
  • []=
  • abbrev
  • any?
  • assoc
  • at
  • bsearch
  • bsearch_index
  • clear
  • collect
  • collect!
  • combination
  • compact
  • compact!
  • concat
  • count
  • cycle
  • dclone
  • delete
  • delete_at
  • delete_if
  • dig
  • drop
  • drop_while
  • each
  • each_index
  • empty?
  • eql?
  • fetch
  • fill
  • find_index
  • first
  • flatten
  • flatten!
  • frozen?
  • hash
  • include?
  • index
  • initialize_copy
  • insert
  • inspect
  • join
  • keep_if
  • last
  • length
  • map
  • map!
  • max
  • min
  • pack
  • permutation
  • pop
  • pretty_print
  • pretty_print_cycle
  • product
  • push
  • rassoc
  • reject
  • reject!
  • repeated_combination
  • repeated_permutation
  • replace
  • reverse
  • reverse!
  • reverse_each
  • rindex
  • rotate
  • rotate!
  • sample
  • select
  • select!
  • shelljoin
  • shift
  • shuffle
  • shuffle!
  • size
  • slice
  • slice!
  • sort
  • sort!
  • sort_by!
  • sum
  • take
  • take_while
  • to_a
  • to_ary
  • to_csv
  • to_h
  • to_s
  • transpose
  • uniq
  • uniq!
  • unshift
  • values_at
  • zip
  • |
  • Class methods
  • []
  • new
  • try_convert
APIdock API Documentation Browser

© 2026 APIdock