Class: Options::Option
- Inherits:
-
Object
- Object
- Options::Option
- Defined in:
- lib/bujo/options/option.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#long_name ⇒ Object
readonly
Returns the value of attribute long_name.
-
#short_name ⇒ Object
readonly
Returns the value of attribute short_name.
-
#value_type ⇒ Object
readonly
Returns the value of attribute value_type.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
3 4 5 |
# File 'lib/bujo/options/option.rb', line 3 def action @action end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/bujo/options/option.rb', line 3 def description @description end |
#long_name ⇒ Object (readonly)
Returns the value of attribute long_name.
3 4 5 |
# File 'lib/bujo/options/option.rb', line 3 def long_name @long_name end |
#short_name ⇒ Object (readonly)
Returns the value of attribute short_name.
3 4 5 |
# File 'lib/bujo/options/option.rb', line 3 def short_name @short_name end |
#value_type ⇒ Object (readonly)
Returns the value of attribute value_type.
3 4 5 |
# File 'lib/bujo/options/option.rb', line 3 def value_type @value_type end |
Class Method Details
.builder ⇒ Object
13 14 15 |
# File 'lib/bujo/options/option.rb', line 13 def self.builder Builder.new end |
Instance Method Details
#valued ⇒ Object
17 18 19 |
# File 'lib/bujo/options/option.rb', line 17 def valued not @value_type.nil? end |