Class: KDL::V1::Value::Float
- Inherits:
-
KDL::Value::Float
- Object
- KDL::Value
- KDL::Value::Float
- KDL::V1::Value::Float
- 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
#==, #to_s, #to_v1, #to_v2, #version
Methods inherited from KDL::Value::Float
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
41 42 43 44 45 46 47 |
# File 'lib/kdl/v1/value.rb', line 41 def stringify_value if value.nan? || value.infinite? warn "[WARNING] Attempting to serialize non-finite Float using KDL v1" return Null.stringify_value end super end |