Class: Cucumber::Formatter::LegacyApi::Ast::Background
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Cucumber::Formatter::LegacyApi::Ast::Background
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Instance Method Summary collapse
- #feature ⇒ Object
-
#initialize(feature, node) ⇒ Background
constructor
A new instance of Background.
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
#feature ⇒ Object
381 382 383 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 381 def feature @feature end |