2 eval("", TOPLEVEL_BINDING)
3 minobj = ObjectSpace.to_enum(:each_object).min_by {|a| a.object_id }
4 maxobj = ObjectSpace.to_enum(:each_object).max_by {|a| a.object_id }
5 minobj.object_id.upto(maxobj.object_id) {|id|
7 o = ObjectSpace._id2ref(id)
11 o.inspect if defined?(o.inspect)
15 assert_normal_exit %q{
17 ary.permutation(2) {|x|
19 ObjectSpace.each_object(String) {|s|
20 s.clear if !s.frozen? && (s.length == 40 || s.length == 80)
26 assert_normal_exit %q{
28 ary.permutation(2) {|x|
30 ObjectSpace.each_object(Array) {|o| o.clear if o == ary && o.object_id != ary.object_id }