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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feature, node) ⇒ Background

Returns a new instance of Background



383
384
385
386
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 383

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

Instance Attribute Details

#featureObject (readonly)

Returns the value of attribute feature



388
389
390
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 388

def feature
  @feature
end