class Shuwar::Tokenizer::Token

The base token class. We use these to distinguish them.

Public Instance Methods

==(other)
Alias for: eql?
eql?(other) click to toggle source
# File lib/shuwar/tokenizer.rb, line 108
def eql?(other)
  to_s == other.to_s
end
Also aliased as: ==