Class: KDL::Value::String
- Inherits:
-
KDL::Value
- Object
- KDL::Value
- KDL::Value::String
- Defined in:
- lib/kdl/value.rb
Constant Summary
Constants inherited from KDL::Value
Instance Attribute Summary
Attributes inherited from KDL::Value
Instance Method Summary collapse
Methods inherited from KDL::Value
#as_type, from, #initialize, #to_s
Constructor Details
This class inherits a constructor from KDL::Value
Instance Method Details
#==(other) ⇒ Object
71 72 73 |
# File 'lib/kdl/value.rb', line 71 def ==(other) other.is_a?(String) && value == other.value end |
#stringify_value ⇒ Object
67 68 69 |
# File 'lib/kdl/value.rb', line 67 def stringify_value StringDumper.call(value) end |