= private = protected
frozen?()
Returns the freeze status of obj.
a = [ "a", "b", "c" ] a.freeze #=> ["a", "b", "c"] a.frozen? #=> true
VALUE rb_obj_frozen_p(VALUE obj) { if (OBJ_FROZEN(obj)) return Qtrue; if (SPECIAL_CONST_P(obj)) { if (!immediate_frozen_tbl) return Qfalse; if (st_lookup(immediate_frozen_tbl, obj, 0)) return Qtrue; } return Qfalse; }