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.
62 63 64 |
# File 'lib/hocon/impl/tokens.rb', line 62 def value @value end |
Instance Method Details
#to_s ⇒ Object
64 65 66 |
# File 'lib/hocon/impl/tokens.rb', line 64 def to_s "'#{value.unwrapped}' (#{Hocon::ConfigValueType.name(value.value_type)})" end |