Method: Mushy::Flux.inherited
- Defined in:
- lib/mushy/flux.rb
.inherited(subclass) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/mushy/flux.rb', line 20 def inherited subclass if (self != Mushy::Flux) Mushy::Flux.inherited subclass else self.all ||= [] self.all << subclass end end |