method
run_with_description_capturing
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Example::ExampleMethods
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
run_with_description_capturing()
public
Hide source
# File lib/spec/example/example_methods.rb, line 82 def run_with_description_capturing begin return instance_eval(&(@_implementation || PENDING_EXAMPLE_BLOCK)) ensure @_matcher_description = Spec::Matchers.generated_description Spec::Matchers.clear_generated_description end end