# File lib/mocha/expectation_error_factory.rb, line 8 def build(message = nil, backtrace = []) self.exception_class ||= ExpectationError exception = exception_class.new(message) filter = BacktraceFilter.new exception.set_backtrace(filter.filtered(backtrace)) exception end
Generated with the Darkfish Rdoc Generator 2.