Class: Gherkin::Formatter::Model::Feature
- Inherits:
-
TagStatement
- Object
- Hashable
- BasicStatement
- DescribedStatement
- TagStatement
- Gherkin::Formatter::Model::Feature
- Defined in:
- lib/gherkin/formatter/model.rb
Instance Attribute Summary
Attributes inherited from TagStatement
Attributes inherited from DescribedStatement
Attributes inherited from BasicStatement
#comments, #keyword, #line, #name
Instance Method Summary collapse
-
#initialize(comments, tags, keyword, name, description, line) ⇒ Feature
constructor
A new instance of Feature.
- #replay(formatter) ⇒ Object
Methods inherited from TagStatement
Methods inherited from BasicStatement
#first_non_comment_line, #line_range
Methods inherited from Hashable
Constructor Details
#initialize(comments, tags, keyword, name, description, line) ⇒ Feature
Returns a new instance of Feature.
49 50 51 |
# File 'lib/gherkin/formatter/model.rb', line 49 def initialize(comments, , keyword, name, description, line) super(comments, , keyword, name, description, line) end |
Instance Method Details
#replay(formatter) ⇒ Object
53 54 55 |
# File 'lib/gherkin/formatter/model.rb', line 53 def replay(formatter) formatter.feature(self) end |