Method: JMESPath::Nodes::EqCondition#visit

Defined in:
lib/jmespath/nodes/condition.rb

#visit(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.



45
46
47
# File 'lib/jmespath/nodes/condition.rb', line 45

def visit(value)
  @left.visit(value) == @right.visit(value) ? @child.visit(value) : nil
end