Class: Nutella::Command

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

Overview

Nutella command

Direct Known Subclasses

Broker, Checkup, Help, New, Reset, RunCommand, Runs, TemplateCommand

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/commands/meta/command.rb', line 9

def description
  @description
end

Instance Method Details

#run(args = nil) ⇒ Object

Commands overload this method to execute



13
14
15
# File 'lib/commands/meta/command.rb', line 13

def run( args=nil )
  console.error 'Running the generic command!!! WAT? https://www.destroyallsoftware.com/talks/wat'
end