class Mocha::RaisedException

Public Class Methods

new(exception) click to toggle source
# File lib/mocha/raised_exception.rb, line 3
def initialize(exception)
  @exception = exception
end

Public Instance Methods

mocha_inspect() click to toggle source
# File lib/mocha/raised_exception.rb, line 7
def mocha_inspect
  "raised #{@exception}"
end