Class: Cucumber::Ast::EmptyBackground
- Defined in:
- lib/cucumber/ast/empty_background.rb
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
-
#file ⇒ Object
writeonly
Sets the attribute file.
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #failed? ⇒ Boolean
- #feature_elements ⇒ Object
- #init ⇒ Object
- #step_collection(step_invocations) ⇒ Object
- #step_invocations ⇒ Object
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
7 8 9 |
# File 'lib/cucumber/ast/empty_background.rb', line 7 def feature @feature end |
#file=(value) ⇒ Object (writeonly)
Sets the attribute file
6 7 8 |
# File 'lib/cucumber/ast/empty_background.rb', line 6 def file=(value) @file = value end |
Instance Method Details
#accept(visitor) ⇒ Object
28 29 |
# File 'lib/cucumber/ast/empty_background.rb', line 28 def accept(visitor) end |
#failed? ⇒ Boolean
9 10 11 |
# File 'lib/cucumber/ast/empty_background.rb', line 9 def failed? false end |
#feature_elements ⇒ Object
13 14 15 |
# File 'lib/cucumber/ast/empty_background.rb', line 13 def feature_elements [] end |
#init ⇒ Object
25 26 |
# File 'lib/cucumber/ast/empty_background.rb', line 25 def init end |
#step_collection(step_invocations) ⇒ Object
17 18 19 |
# File 'lib/cucumber/ast/empty_background.rb', line 17 def step_collection(step_invocations) StepCollection.new(step_invocations) end |
#step_invocations ⇒ Object
21 22 23 |
# File 'lib/cucumber/ast/empty_background.rb', line 21 def step_invocations [] end |