diff --git a/lib/jmespath/nodes/condition.rb b/lib/jmespath/nodes/condition.rb index 420e4da..3b267de 100644 --- a/lib/jmespath/nodes/condition.rb +++ b/lib/jmespath/nodes/condition.rb @@ -29,6 +29,7 @@ def optimize class ComparatorCondition < Node COMPARATOR_TO_CONDITION = {} COMPARABLE_TYPES = [Integer, Float, String].freeze + def initialize(left, right, child) @left = left @right = right