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.



147
148
149
# File 'lib/gherkin/parser/parser.rb', line 147

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows.



145
146
147
# File 'lib/gherkin/parser/parser.rb', line 145

def rows
  @rows
end

Instance Method Details

#eofObject



158
159
# File 'lib/gherkin/parser/parser.rb', line 158

def eof
end

#location(uri, offset) ⇒ Object



151
152
# File 'lib/gherkin/parser/parser.rb', line 151

def location(uri, offset)
end

#row(row, line_number) ⇒ Object



154
155
156
# File 'lib/gherkin/parser/parser.rb', line 154

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