Class: Mocha::ExceptionRaiser
Overview
:nodoc:
Instance Method Summary collapse
- #evaluate ⇒ Object
-
#initialize(exception, message) ⇒ ExceptionRaiser
constructor
A new instance of ExceptionRaiser.
Constructor Details
#initialize(exception, message) ⇒ ExceptionRaiser
Returns a new instance of ExceptionRaiser.
5 6 7 |
# File 'lib/mocha/exception_raiser.rb', line 5 def initialize(exception, ) @exception, @message = exception, end |