Class: Bricolage::CommonApplicationOptions::OptionValue
- Inherits:
-
Struct
- Object
- Struct
- Bricolage::CommonApplicationOptions::OptionValue
- Defined in:
- lib/bricolage/application.rb,
lib/bricolage/application.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location
176 177 178 |
# File 'lib/bricolage/application.rb', line 176 def location @location end |
#value ⇒ Object
Returns the value of attribute value
176 177 178 |
# File 'lib/bricolage/application.rb', line 176 def value @value end |
Instance Method Details
#inspect ⇒ Object
178 179 180 181 182 183 184 |
# File 'lib/bricolage/application.rb', line 178 def inspect if location "#{value.inspect} (#{location})" else value.inspect end end |