Class: Cucumber::Formatter::LegacyApi::Ast::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/formatter/legacy_api/ast.rb

Overview

Acts as a null object, or a base class

Direct Known Subclasses

MultilineArg::DocString

Instance Method Summary collapse

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