Class: KDL::Value::Boolean

Inherits:
KDL::Value show all
Defined in:
lib/kdl/value.rb

Constant Summary

Constants inherited from KDL::Value

Null

Instance Attribute Summary

Attributes inherited from KDL::Value

#format, #type, #value

Instance Method Summary collapse

Methods inherited from KDL::Value

#as_type, from, #initialize, #stringify_value, #to_s

Constructor Details

This class inherits a constructor from KDL::Value

Instance Method Details

#==(other) ⇒ Object



61
62
63
# File 'lib/kdl/value.rb', line 61

def ==(other)
  other.is_a?(Boolean) && value == other.value
end