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.
- #row(row, line_number) ⇒ Object
- #uri(uri) ⇒ Object
Constructor Details
#initialize ⇒ StateMachineReader
Returns a new instance of StateMachineReader.
146 147 148 |
# File 'lib/gherkin/parser/parser.rb', line 146 def initialize @rows = [] end |
Instance Attribute Details
#rows ⇒ Object (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
#eof ⇒ Object
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 |