Method: Querly::Pattern::Argument::KeyValue#initialize

Defined in:
lib/querly/pattern/argument.rb

#initialize(key:, value:, tail:, negated: false) ⇒ KeyValue

Returns a new instance of KeyValue.



42
43
44
45
46
47
48
# File 'lib/querly/pattern/argument.rb', line 42

def initialize(key:, value:, tail:, negated: false)
  @key = key
  @value = value
  @negated = negated

  super(tail: tail)
end