class Gherkin::Token
Attributes
matched_gherkin_dialect[RW]
matched_indent[RW]
matched_items[RW]
matched_keyword[RW]
matched_text[RW]
matched_type[RW]
Public Instance Methods
detach()
click to toggle source
# File lib/gherkin/token.rb, line 10 def detach # TODO: detach line - is this needed? end
eof?()
click to toggle source
# File lib/gherkin/token.rb, line 6 def eof? line.nil? end
token_value()
click to toggle source
# File lib/gherkin/token.rb, line 14 def token_value eof? ? "EOF" : line.get_line_text(-1) end