Class: TerminalParam
- Inherits:
-
Object
- Object
- TerminalParam
- Defined in:
- lib/terrun.rb
Instance Attribute Summary collapse
-
#help ⇒ Object
Returns the value of attribute help.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, help) ⇒ TerminalParam
constructor
A new instance of TerminalParam.
Constructor Details
#initialize(name, help) ⇒ TerminalParam
Returns a new instance of TerminalParam.
31 32 33 34 |
# File 'lib/terrun.rb', line 31 def initialize(name, help) @name = name @help = help end |
Instance Attribute Details
#help ⇒ Object
Returns the value of attribute help.
29 30 31 |
# File 'lib/terrun.rb', line 29 def help @help end |
#name ⇒ Object
Returns the value of attribute name.
29 30 31 |
# File 'lib/terrun.rb', line 29 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
29 30 31 |
# File 'lib/terrun.rb', line 29 def value @value end |