Class: KDL::Value::String
- Inherits:
-
KDL::Value
- Object
- KDL::Value
- KDL::Value::String
- Defined in:
- lib/kdl/value.rb
Direct Known Subclasses
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, #inspect, #method_missing, #respond_to_missing?, #to_s, #to_v2, #version
Constructor Details
This class inherits a constructor from KDL::Value
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class KDL::Value
Instance Method Details
#stringify_value ⇒ Object
115 116 117 |
# File 'lib/kdl/value.rb', line 115 def stringify_value StringDumper.call(value) end |
#to_v1 ⇒ Object
119 120 121 |
# File 'lib/kdl/value.rb', line 119 def to_v1 V1::Value::String.new(value, format:, type:) end |