Returns all the classes in the object space.
# File lib/padrino-core/support_lite.rb, line 114 def classes ObjectSpace.each_object(Module).select do |klass| # Why this? Ruby when you remove a constant don't clean it from # rb_tables, this mean that here we can found classes that was # removed. klass.name rescue false end end
Generated with the Darkfish Rdoc Generator 2.