method
run_with_description_capturing
1.1.4 -
Show latest stable
- Class:
Spec::Example::ExampleMethods
run_with_description_capturing()public
No documentation available.
# 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