Class: Command::Option
- Inherits:
-
Struct
- Object
- Struct
- Command::Option
- Defined in:
- lib/command/option.rb
Instance Attribute Summary collapse
-
#declaration ⇒ Object
Returns the value of attribute declaration.
-
#description ⇒ Object
Returns the value of attribute description.
-
#long ⇒ Object
Returns the value of attribute long.
-
#name ⇒ Object
Returns the value of attribute name.
-
#necessity ⇒ Object
Returns the value of attribute necessity.
-
#negated ⇒ Object
Returns the value of attribute negated.
-
#short ⇒ Object
Returns the value of attribute short.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#declaration ⇒ Object
Returns the value of attribute declaration
10 11 12 |
# File 'lib/command/option.rb', line 10 def declaration @declaration end |
#description ⇒ Object
Returns the value of attribute description
10 11 12 |
# File 'lib/command/option.rb', line 10 def description @description end |
#long ⇒ Object
Returns the value of attribute long
10 11 12 |
# File 'lib/command/option.rb', line 10 def long @long end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/command/option.rb', line 10 def name @name end |
#necessity ⇒ Object
Returns the value of attribute necessity
10 11 12 |
# File 'lib/command/option.rb', line 10 def necessity @necessity end |
#negated ⇒ Object
Returns the value of attribute negated
10 11 12 |
# File 'lib/command/option.rb', line 10 def negated @negated end |
#short ⇒ Object
Returns the value of attribute short
10 11 12 |
# File 'lib/command/option.rb', line 10 def short @short end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/command/option.rb', line 10 def type @type end |