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 Attribute Summary collapse
-
#feature ⇒ Object
readonly
Returns the value of attribute feature.
Instance Method Summary collapse
-
#initialize(feature, node) ⇒ Background
constructor
A new instance of Background.
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
#feature ⇒ Object (readonly)
Returns the value of attribute feature.
388 389 390 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 388 def feature @feature end |