Class: UniversaTools::Commons::CliCommands::Command
- Inherits:
-
Object
- Object
- UniversaTools::Commons::CliCommands::Command
- Defined in:
- lib/universa_tools/commons.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#dispatcher ⇒ Object
readonly
Returns the value of attribute dispatcher.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#second_name ⇒ Object
readonly
Returns the value of attribute second_name.
Instance Method Summary collapse
-
#initialize(name, second_name, description, dispatcher) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(name, second_name, description, dispatcher) ⇒ Command
Returns a new instance of Command.
77 78 79 |
# File 'lib/universa_tools/commons.rb', line 77 def initialize(name, second_name, description, dispatcher) @name, @second_name, @description, @dispatcher = name, second_name, description, dispatcher end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
75 76 77 |
# File 'lib/universa_tools/commons.rb', line 75 def description @description end |
#dispatcher ⇒ Object (readonly)
Returns the value of attribute dispatcher.
75 76 77 |
# File 'lib/universa_tools/commons.rb', line 75 def dispatcher @dispatcher end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
75 76 77 |
# File 'lib/universa_tools/commons.rb', line 75 def name @name end |
#second_name ⇒ Object (readonly)
Returns the value of attribute second_name.
75 76 77 |
# File 'lib/universa_tools/commons.rb', line 75 def second_name @second_name end |