Class: Kaiseki::EOFParser
Instance Method Summary
collapse
Methods included from Parseable
#&, #action, #and?, #cast, #filter, #merge, #not!, #one_or_more, #optional, #override, #parse, #predicate?, #protect, #repeat, #set, #skip, #tag_error, #tag_result, #to_parseable, #validate, #zero_or_more, #|
Instance Method Details
#eql?(other) ⇒ Boolean
Also known as:
==
5
6
7
|
# File 'lib/parser_eof.rb', line 5
def eql? other
other.is_a? self.class
end
|
11
12
13
|
# File 'lib/parser_eof.rb', line 11
def to_s
'EOF'
end
|