class Robe::JVisor
Public Instance Methods
descendants(cls)
click to toggle source
# File lib/robe/jvisor.rb, line 10 def descendants(cls) ObjectSpace.each_object(Class).select { |c| c < cls } end
each_object(mod)
click to toggle source
# File lib/robe/jvisor.rb, line 5 def each_object(mod) # http://jira.codehaus.org/browse/JRUBY-7027 ObjectSpace.each_object(mod).select { |m| m.respond_to? :name } end