Method: Archfiend::ThreadLoop.inherited
- Defined in:
- lib/archfiend/thread_loop.rb
.inherited(child_class) ⇒ Object
Collects all subclasses in the class instance variable
16 17 18 19 |
# File 'lib/archfiend/thread_loop.rb', line 16 def inherited(child_class) @subclasses ||= [] @subclasses.push(child_class) end |