Class: KDL::V1::Value::NullImpl
- Inherits:
-
KDL::Value::NullImpl
- Object
- KDL::Value
- KDL::Value::NullImpl
- KDL::V1::Value::NullImpl
- Includes:
- Methods
- Defined in:
- lib/kdl/v1/value.rb
Constant Summary
Constants inherited from KDL::Value
Instance Attribute Summary
Attributes inherited from KDL::Value
Instance Method Summary collapse
Methods included from Methods
Methods inherited from KDL::Value::NullImpl
Methods inherited from KDL::Value
#==, #as_type, from, #initialize, #inspect, #method_missing, #respond_to_missing?, #to_s, #version
Constructor Details
This class inherits a constructor from KDL::Value::NullImpl
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class KDL::Value
Instance Method Details
#stringify_value ⇒ Object
69 70 71 |
# File 'lib/kdl/v1/value.rb', line 69 def stringify_value "null" end |
#to_v2 ⇒ Object
73 74 75 |
# File 'lib/kdl/v1/value.rb', line 73 def to_v2 type ? ::KDL::Value::NullImpl.new(type:) : ::KDL::Value::Null end |