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.
147 148 149 |
# File 'lib/gherkin/parser/parser.rb', line 147 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (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
#eof ⇒ Object
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 |