Class: Command
- Inherits:
-
Object
- Object
- Command
- Defined in:
- lib/get/subcommand/command.rb
Overview
Base class for (sub)commands. (Sub)Commands should be singletons.
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
22 23 24 |
# File 'lib/get/subcommand/command.rb', line 22 def action @action end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
22 23 24 |
# File 'lib/get/subcommand/command.rb', line 22 def description @description end |