Object
# File lib/mocha/exception_raiser.rb, line 5 5: def initialize(exception, message) 6: @exception, @message = exception, message 7: end
# File lib/mocha/exception_raiser.rb, line 9 9: def evaluate 10: raise @exception, @exception.to_s if @exception.is_a?(Module) && @exception.ancestors.include?(Interrupt) 11: raise @exception, @message if @message 12: raise @exception 13: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.