Class: Cucumber::Core::Ast::Comment
- Inherits:
-
Object
- Object
- Cucumber::Core::Ast::Comment
- Includes:
- HasLocation
- Defined in:
- lib/cucumber/core/ast/comment.rb
Instance Method Summary collapse
-
#initialize(location, value) ⇒ Comment
constructor
A new instance of Comment.
- #to_s ⇒ Object
Methods included from HasLocation
#attributes, #comments, #file, #file_colon_line, #line, #match_locations?, #multiline_arg, #tags
Constructor Details
#initialize(location, value) ⇒ Comment
Returns a new instance of Comment.
12 13 14 15 |
# File 'lib/cucumber/core/ast/comment.rb', line 12 def initialize(location, value) @location = location @value = value end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/cucumber/core/ast/comment.rb', line 17 def to_s value end |