Class: Aptible::CLI::Formatter::Value
- Includes:
- Comparable
- Defined in:
- lib/aptible/cli/formatter/value.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #hash ⇒ Object
-
#initialize(value) ⇒ Value
constructor
A new instance of Value.
Constructor Details
#initialize(value) ⇒ Value
Returns a new instance of Value.
9 10 11 |
# File 'lib/aptible/cli/formatter/value.rb', line 9 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7 8 9 |
# File 'lib/aptible/cli/formatter/value.rb', line 7 def value @value end |