Class: Nutella::Command
- Inherits:
-
Object
- Object
- Nutella::Command
- 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
-
.description ⇒ Object
Returns the value of attribute description.
Instance Method Summary collapse
-
#run(args = nil) ⇒ Object
Commands overload this method to execute.
Class Attribute Details
.description ⇒ Object
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 |