Class: Nutella::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/core/command.rb

Direct Known Subclasses

Broker, Checkup, Help, Install, New, RunCommand, Runs

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/core/command.rb', line 5

def description
  @description
end

Instance Method Details

#run(args = nil) ⇒ Object

Commands overload this method to execute



8
9
10
# File 'lib/core/command.rb', line 8

def run( args=nil )
  console.error 'Running the generic command!!! WAT?'
end