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.
- #metadata_hash ⇒ Object
Methods included from Line
Methods included from Name
Methods included from Tags
Constructor Details
#initialize(raw) ⇒ Feature
Returns a new instance of Feature.
39 40 41 42 43 |
# File 'lib/turnip/builder.rb', line 39 def initialize(raw) @raw = raw @scenarios = [] @backgrounds = [] end |
Instance Attribute Details
#backgrounds ⇒ Object (readonly)
Returns the value of attribute backgrounds.
36 37 38 |
# File 'lib/turnip/builder.rb', line 36 def backgrounds @backgrounds end |
#feature_tag ⇒ Object
Returns the value of attribute feature_tag.
37 38 39 |
# File 'lib/turnip/builder.rb', line 37 def feature_tag @feature_tag end |
#scenarios ⇒ Object (readonly)
Returns the value of attribute scenarios.
36 37 38 |
# File 'lib/turnip/builder.rb', line 36 def scenarios @scenarios end |