Class: Nutella::Command
- Inherits:
-
Object
- Object
- Nutella::Command
- Defined in:
- lib/core/command.rb
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.
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 |