Joel VanderWerf wrote:
> irb(main):001:0> ObjectSpace.each_object(Class) {|cl| p cl if cl < 
> Numeric}

Thank you. Why does it return 387 after I do this in IRB?

like this:
irb(main):069:0> ObjectSpace.each_object(Class) {|cl| p cl if cl < Date}
DateTime
=> 387



-- 
Posted via http://www.ruby-forum.com/.