module ObjectSpace
def classes
-
(Array[Class])
- All the classes in the object space.
def classes klasses = [] ObjectSpace.each_object(Class) {|o| klasses << o} klasses end
(Array[Class])
- All the classes in the object space.
def classes klasses = [] ObjectSpace.each_object(Class) {|o| klasses << o} klasses end