Sha256: 571f872da70765446adc94075b2ad2a8097f12936e72c26579c4a34acf24bd3f

Contents?: true

Size: 270 Bytes

Versions: 80

Compression:

Stored size: 270 Bytes

Contents

require 'mocha/backtrace_filter'

module Mocha

  class ExpectationError < StandardError
    
    def initialize(message = nil, backtrace = [])
      super(message)
      filter = BacktraceFilter.new
      set_backtrace(filter.filtered(backtrace))
    end

  end
  
end

Version data entries

80 entries across 80 versions & 10 rubygems

Version Path
gsterndale-warrant-0.2.0 test/rails_root/vendor/gems/mocha-0.9.4/lib/mocha/expectation_error.rb
gsterndale-warrant-0.3.0 test/rails_root/vendor/gems/mocha-0.9.4/lib/mocha/expectation_error.rb
hashrocket-clearance-0.4.0 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
hashrocket-clearance-0.4.1 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
hashrocket-clearance-0.4.2 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
hashrocket-clearance-0.4.3 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
jferris-mocha-0.9.5.0.1240002286 lib/mocha/expectation_error.rb
jferris-mocha-0.9.5.0.1240351621 lib/mocha/expectation_error.rb
jferris-mocha-0.9.5.0.1241126838 lib/mocha/expectation_error.rb
jferris-mocha-0.9.7.0.1247796736 lib/mocha/expectation_error.rb
jferris-mocha-0.9.7.20090701124354 lib/mocha/expectation_error.rb
jferris-mocha-0.9.7.20090911190113 lib/mocha/expectation_error.rb
thewoolleyman-mocha-0.9.3.20081219131457 lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.2 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.3 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.4 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.5 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.6 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.7 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb
thoughtbot-clearance-0.2.8 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/expectation_error.rb