StandardError
Exception raised when stubbing a particular method is not allowed.
@see Configuration.prevent
@private
# File lib/mocha/stubbing_error.rb, line 11 def initialize(message = nil, backtrace = []) super(message) filter = BacktraceFilter.new set_backtrace(filter.filtered(backtrace)) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.