lib/jmespath/nodes/expression.rb in jmespath-1.6.1 vs lib/jmespath/nodes/expression.rb in jmespath-1.6.2

- old
+ new

@@ -1,16 +1,17 @@ +# frozen_string_literal: true module JMESPath # @api private module Nodes class Expression < Node attr_reader :expression def initialize(expression) @expression = expression end - def visit(value) + def visit(_value) self end def eval(value) @expression.visit(value) @@ -20,6 +21,5 @@ self.class.new(@expression.optimize) end end end end -