Method: Lex::State#==

Defined in:
lib/lex/state.rb

#==(other) ⇒ Object



28
29
30
31
# File 'lib/lex/state.rb', line 28

def ==(other)
  @name == other.name &&
  @lexemes == other.lexemes
end