Class: KDL::Value::Boolean
- Inherits:
-
KDL::Value
- Object
- KDL::Value
- KDL::Value::Boolean
- 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
105 106 107 |
# File 'lib/kdl/value.rb', line 105 def stringify_value "##{value}" end |
#to_v1 ⇒ Object
109 110 111 |
# File 'lib/kdl/value.rb', line 109 def to_v1 V1::Value::Boolean.new(value, format:, type:) end |