Class: Gherkin::RbParser::Machine::StateMachineReader

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStateMachineReader

Returns a new instance of StateMachineReader.



111
112
113
# File 'lib/gherkin/rb_parser.rb', line 111

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows.



109
110
111
# File 'lib/gherkin/rb_parser.rb', line 109

def rows
  @rows
end

Instance Method Details

#eofObject



119
120
# File 'lib/gherkin/rb_parser.rb', line 119

def eof
end

#row(row, line_number) ⇒ Object



115
116
117
# File 'lib/gherkin/rb_parser.rb', line 115

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