method
__raise
__raise(message)
private
Hide source
# File lib/spec/mocks/error_generator.rb, line 50 def __raise(message) message = opts[:message] unless opts[:message].nil? Kernel::raise(Spec::Mocks::MockExpectationError, message) end