Class: Cmdopt::SchemaItem
- Inherits:
-
Object
- Object
- Cmdopt::SchemaItem
- Defined in:
- lib/cmdopt.rb
Instance Attribute Summary collapse
-
#arg ⇒ Object
Returns the value of attribute arg.
-
#attr ⇒ Object
Returns the value of attribute attr.
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#handler ⇒ Object
Returns the value of attribute handler.
-
#long ⇒ Object
Returns the value of attribute long.
-
#options ⇒ Object
Returns the value of attribute options.
-
#required ⇒ Object
Returns the value of attribute required.
-
#short ⇒ Object
Returns the value of attribute short.
-
#validator ⇒ Object
Returns the value of attribute validator.
Instance Attribute Details
#arg ⇒ Object
Returns the value of attribute arg.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def arg @arg end |
#attr ⇒ Object
Returns the value of attribute attr.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def attr @attr end |
#desc ⇒ Object
Returns the value of attribute desc.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def desc @desc end |
#handler ⇒ Object
Returns the value of attribute handler.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def handler @handler end |
#long ⇒ Object
Returns the value of attribute long.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def long @long end |
#options ⇒ Object
Returns the value of attribute options.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def end |
#required ⇒ Object
Returns the value of attribute required.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def required @required end |
#short ⇒ Object
Returns the value of attribute short.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def short @short end |
#validator ⇒ Object
Returns the value of attribute validator.
92 93 94 |
# File 'lib/cmdopt.rb', line 92 def validator @validator end |