method

run_with_description_capturing

rspec latest stable - Class: Spec::Example::ExampleMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

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