Class: Yacl::Define::Cli::Option
- Inherits:
-
Struct
- Object
- Struct
- Yacl::Define::Cli::Option
- Defined in:
- lib/yacl/define/cli/options.rb
Overview
Internal: Encapsulation of all the elements pertaining to a single commandline option.
Instance Attribute Summary collapse
-
#cast ⇒ Object
Returns the value of attribute cast.
-
#description ⇒ Object
Returns the value of attribute description.
-
#long ⇒ Object
Returns the value of attribute long.
-
#property_name ⇒ Object
Returns the value of attribute property_name.
-
#short ⇒ Object
Returns the value of attribute short.
Instance Attribute Details
#cast ⇒ Object
Returns the value of attribute cast
5 6 7 |
# File 'lib/yacl/define/cli/options.rb', line 5 def cast @cast end |
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/yacl/define/cli/options.rb', line 5 def description @description end |
#long ⇒ Object
Returns the value of attribute long
5 6 7 |
# File 'lib/yacl/define/cli/options.rb', line 5 def long @long end |
#property_name ⇒ Object
Returns the value of attribute property_name
5 6 7 |
# File 'lib/yacl/define/cli/options.rb', line 5 def property_name @property_name end |
#short ⇒ Object
Returns the value of attribute short
5 6 7 |
# File 'lib/yacl/define/cli/options.rb', line 5 def short @short end |