Class: Kaiseki::EOFParser

Inherits:
Object show all
Includes:
Parseable
Defined in:
lib/parser_eof.rb

Instance Method Summary collapse

Methods included from Parseable

#&, #action, #and?, #cast, #filter, #list, #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: ==

Returns:

  • (Boolean)


5
6
7
# File 'lib/parser_eof.rb', line 5

def eql? other
	other.is_a? self.class
end

#to_sObject



11
12
13
# File 'lib/parser_eof.rb', line 11

def to_s
	'EOF'
end