Class: PROIEL::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/proiel/cli/commands.rb

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



12
13
14
15
# File 'lib/proiel/cli/commands.rb', line 12

def inherited(base)
  subclasses << base
  super(base)
end

.subclassesObject



8
9
10
# File 'lib/proiel/cli/commands.rb', line 8

def subclasses
  @subclasses ||= []
end