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.
43
44
45
46
|
# File 'lib/cucumber/core/report/summary.rb', line 43
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
56
57
|
# File 'lib/cucumber/core/report/summary.rb', line 56
def method_missing(*)
end
|
Instance Method Details
#is_step? ⇒ Boolean
48
49
50
|
# File 'lib/cucumber/core/report/summary.rb', line 48
def is_step?
@step
end
|
#step ⇒ Object
52
53
54
|
# File 'lib/cucumber/core/report/summary.rb', line 52
def step(*)
@step = true
end
|