Class: Cucumber::Core::Report::StepQueryVisitor
- Inherits:
-
Object
- Object
- Cucumber::Core::Report::StepQueryVisitor
show all
- Defined in:
- lib/cucumber/core/report/summary.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of StepQueryVisitor.
32
33
34
35
|
# File 'lib/cucumber/core/report/summary.rb', line 32
def initialize(test_step)
@step = false
test_step.source.last.describe_to(self)
end
|
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing ⇒ Object
45
46
|
# File 'lib/cucumber/core/report/summary.rb', line 45
def method_missing(*)
end
|
Instance Method Details
#is_step? ⇒ Boolean
37
38
39
|
# File 'lib/cucumber/core/report/summary.rb', line 37
def is_step?
@step
end
|
#step ⇒ Object
41
42
43
|
# File 'lib/cucumber/core/report/summary.rb', line 41
def step(*)
@step = true
end
|