class J1::Command
Public Class Methods
inherited(base)
click to toggle source
Keep a list of subclasses of J1::Command
every time it's inherited Called automatically.
base - the subclass
Returns nothing
Calls superclass method
# File lib/j1/command.rb, line 16 def inherited(base) subclasses << base super(base) end
subclasses()
click to toggle source
A list of subclasses of J1::Command
# File lib/j1/command.rb, line 6 def subclasses @subclasses ||= [] end