Class: Turnip::Builder::Feature
- Inherits:
-
Object
- Object
- Turnip::Builder::Feature
- Defined in:
- lib/turnip/builder.rb
Instance Attribute Summary collapse
-
#backgrounds ⇒ Object
readonly
Returns the value of attribute backgrounds.
-
#feature_tag ⇒ Object
Returns the value of attribute feature_tag.
-
#scenarios ⇒ Object
readonly
Returns the value of attribute scenarios.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Feature
constructor
A new instance of Feature.
- #line ⇒ Object
- #metadata_hash ⇒ Object
Methods included from Name
Methods included from Tags
Constructor Details
#initialize(raw) ⇒ Feature
Returns a new instance of Feature.
32 33 34 35 36 |
# File 'lib/turnip/builder.rb', line 32 def initialize(raw) @raw = raw @scenarios = [] @backgrounds = [] end |
Instance Attribute Details
#backgrounds ⇒ Object (readonly)
Returns the value of attribute backgrounds.
29 30 31 |
# File 'lib/turnip/builder.rb', line 29 def backgrounds @backgrounds end |
#feature_tag ⇒ Object
Returns the value of attribute feature_tag.
30 31 32 |
# File 'lib/turnip/builder.rb', line 30 def feature_tag @feature_tag end |
#scenarios ⇒ Object (readonly)
Returns the value of attribute scenarios.
29 30 31 |
# File 'lib/turnip/builder.rb', line 29 def scenarios @scenarios end |