Class: Gherkin::Parser::Parser::Machine::StateMachineReader

Inherits:
Object
  • Object
show all
Defined in:
lib/gherkin/parser/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStateMachineReader

Returns a new instance of StateMachineReader.



132
133
134
# File 'lib/gherkin/parser/parser.rb', line 132

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows.



130
131
132
# File 'lib/gherkin/parser/parser.rb', line 130

def rows
  @rows
end

Instance Method Details

#eofObject



143
144
# File 'lib/gherkin/parser/parser.rb', line 143

def eof
end

#location(uri, offset) ⇒ Object



136
137
# File 'lib/gherkin/parser/parser.rb', line 136

def location(uri, offset)
end

#row(row, line_number) ⇒ Object



139
140
141
# File 'lib/gherkin/parser/parser.rb', line 139

def row(row, line_number)
  @rows << row
end