Class: JMESPath::Nodes::ComparatorCondition Private
- Defined in:
- lib/jmespath/nodes/condition.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.
Direct Known Subclasses
EqCondition, GtCondition, GteCondition, LtCondition, LteCondition, NeqCondition
Constant Summary collapse
- COMPARATOR_TO_CONDITION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{}
Instance Method Summary collapse
-
#initialize(left, right, child) ⇒ ComparatorCondition
constructor
private
A new instance of ComparatorCondition.
- #visit(value) ⇒ Object private
Methods inherited from Node
#chains_with?, #hash_like?, #optimize
Constructor Details
#initialize(left, right, child) ⇒ ComparatorCondition
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.
Returns a new instance of ComparatorCondition.
31 32 33 34 35 |
# File 'lib/jmespath/nodes/condition.rb', line 31 def initialize(left, right, child) @left = left @right = right @child = child end |
Instance Method Details
#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.
37 38 39 |
# File 'lib/jmespath/nodes/condition.rb', line 37 def visit(value) nil end |