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

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true module JMESPath # @api private module Nodes class Node def visit(value) @@ -7,15 +8,15 @@ def optimize self end - def chains_with?(other) + def chains_with?(_other) false end end - + require 'jmespath/nodes/subexpression' require 'jmespath/nodes/and' require 'jmespath/nodes/comparator' require 'jmespath/nodes/comparator' require 'jmespath/nodes/condition' @@ -33,9 +34,7 @@ require 'jmespath/nodes/pipe' require 'jmespath/nodes/projection' require 'jmespath/nodes/projection' require 'jmespath/nodes/projection' require 'jmespath/nodes/slice' - - end end