Class: Gherkin::Formatter::Model::Comment
- Defined in:
- lib/gherkin/formatter/model.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, line) ⇒ Comment
constructor
A new instance of Comment.
Methods inherited from Hashable
Constructor Details
#initialize(value, line) ⇒ Comment
Returns a new instance of Comment.
146 147 148 |
# File 'lib/gherkin/formatter/model.rb', line 146 def initialize(value, line) @value, @line = value, line end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
144 145 146 |
# File 'lib/gherkin/formatter/model.rb', line 144 def line @line end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
144 145 146 |
# File 'lib/gherkin/formatter/model.rb', line 144 def value @value end |