Class: Spinach::Background
- Inherits:
-
Object
- Object
- Spinach::Background
- Defined in:
- lib/spinach/background.rb
Instance Attribute Summary (collapse)
-
- (Object) feature
Returns the value of attribute feature.
-
- (Object) line
Returns the value of attribute line.
-
- (Object) steps
Returns the value of attribute steps.
Instance Method Summary (collapse)
-
- (Background) initialize(feature)
constructor
A new instance of Background.
Constructor Details
- (Background) initialize(feature)
A new instance of Background
6 7 8 9 |
# File 'lib/spinach/background.rb', line 6 def initialize(feature) @feature = feature @steps = [] end |
Instance Attribute Details
- (Object) feature
Returns the value of attribute feature
4 5 6 |
# File 'lib/spinach/background.rb', line 4 def feature @feature end |
- (Object) line
Returns the value of attribute line
3 4 5 |
# File 'lib/spinach/background.rb', line 3 def line @line end |
- (Object) steps
Returns the value of attribute steps
4 5 6 |
# File 'lib/spinach/background.rb', line 4 def steps @steps end |