Method: JSONP3::IndexSelector#==

Defined in:
lib/json_p3/selector.rb

#==(other) ⇒ Object Also known as: eql?



123
124
125
126
127
# File 'lib/json_p3/selector.rb', line 123

def ==(other)
  self.class == other.class &&
    @index == other.index &&
    @token == other.token
end