class Querly::Pattern::Argument::Base

Attributes

tail[R]

Public Class Methods

new(tail:) click to toggle source
# File lib/querly/pattern/argument.rb, line 7
def initialize(tail:)
  @tail = tail
end

Public Instance Methods

==(other) click to toggle source
# File lib/querly/pattern/argument.rb, line 11
def ==(other)
  other.class == self.class && other.attributes == attributes
end
attributes() click to toggle source
# File lib/querly/pattern/argument.rb, line 15
def attributes
  instance_variables.each.with_object({}) do |name, hash|
    hash[name] = instance_variable_get(name)
  end
end