Class: Class
- Inherits:
-
Object
- Object
- Class
- Defined in:
- lib/gamefic-sdk.rb
Instance Method Summary collapse
Instance Method Details
#descendants ⇒ Object
17 18 19 20 21 |
# File 'lib/gamefic-sdk.rb', line 17 def descendants result = [] ObjectSpace.each_object(::Class) {|klass| result << klass if klass < self } result end |