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.



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

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows.



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

def rows
  @rows
end

Instance Method Details

#eofObject



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

def eof
end

#row(row, line_number) ⇒ Object



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

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

#uri(uri) ⇒ Object



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

def uri(uri)
end