Class: Cucumber::Formatter::LegacyApi::Ast::Node
- Inherits:
-
Object
- Object
- Cucumber::Formatter::LegacyApi::Ast::Node
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Overview
Acts as a null object, or a base class
Direct Known Subclasses
Instance Method Summary collapse
- #accept(formatter) ⇒ Object
-
#initialize(node = nil) ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize(node = nil) ⇒ Node
Returns a new instance of Node.
11 12 13 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 11 def initialize(node = nil) @node = node end |
Instance Method Details
#accept(formatter) ⇒ Object
15 16 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 15 def accept(formatter) end |