Class: JMESPath::Nodes::Comparators::Eq Private

Inherits:
JMESPath::Nodes::Comparator show all
Defined in:
lib/jmespath/nodes/comparator.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from JMESPath::Nodes::Comparator

#left, #right

Instance Method Summary collapse

Methods inherited from JMESPath::Nodes::Comparator

create, #initialize, #optimize, #visit

Methods inherited from Node

#chains_with?, #hash_like?, #optimize, #visit

Constructor Details

This class inherits a constructor from JMESPath::Nodes::Comparator

Instance Method Details

#check(left_value, right_value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



44
45
46
# File 'lib/jmespath/nodes/comparator.rb', line 44

def check(left_value, right_value)
  left_value == right_value
end