Sha256: f065909ecbd77d2a9e3d82ac2bb12c24e06c05566f594ebc7477b2326a44a476
Contents?: true
Size: 370 Bytes
Versions: 118
Compression:
Stored size: 370 Bytes
Contents
require 'mocha/backtrace_filter' module Mocha # :nodoc: # Exception raised when an action prevented by Configuration#prevent is attempted. class StubbingError < StandardError def initialize(message = nil, backtrace = []) # :nodoc: super(message) filter = BacktraceFilter.new set_backtrace(filter.filtered(backtrace)) end end end
Version data entries
118 entries across 113 versions & 13 rubygems