method

given_exception

rspec latest stable - Class: Spec::Matchers::RaiseException
given_exception()
private

No documentation available.

# File lib/spec/matchers/raise_exception.rb, line 83
        def given_exception
          @actual_exception.nil? ? " but nothing was raised" : ", got #{@actual_exception.inspect}"
        end