Class: Gherkin::Parser::Parser::Machine::StateMachineReader
- Inherits:
-
Object
- Object
- Gherkin::Parser::Parser::Machine::StateMachineReader
- Defined in:
- lib/gherkin/parser/parser.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
- #eof ⇒ Object
-
#initialize ⇒ StateMachineReader
constructor
A new instance of StateMachineReader.
- #location(uri, offset) ⇒ Object
- #row(row, line_number) ⇒ Object
Constructor Details
#initialize ⇒ StateMachineReader
Returns a new instance of StateMachineReader.
132 133 134 |
# File 'lib/gherkin/parser/parser.rb', line 132 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (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
#eof ⇒ Object
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 |