Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/trackablaze/utils.rb

Instance Method Summary collapse

Instance Method Details

#subclassesObject



2
3
4
# File 'lib/trackablaze/utils.rb', line 2

def subclasses
  ObjectSpace.each_object(Class).select { |klass| klass < self }
end