Class: Cucumber::Formatter::LegacyApi::Ast::Background

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

Instance Method Summary collapse

Constructor Details

#initialize(feature, node) ⇒ Background

Returns a new instance of Background.



376
377
378
379
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 376

def initialize(feature, node)
  super node
  @feature = feature
end

Instance Method Details

#featureObject



381
382
383
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 381

def feature
  @feature
end