Class: Hocon::Impl::Tokens::Value
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Value
constructor
A new instance of Value.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
59 60 61 |
# File 'lib/hocon/impl/tokens.rb', line 59 def value @value end |
Instance Method Details
#to_s ⇒ Object
61 62 63 |
# File 'lib/hocon/impl/tokens.rb', line 61 def to_s "'#{value.unwrapped}' (#{Hocon::ConfigValueType.name(value.value_type)})" end |