Sha256: 4f93f61ce81c1e83ebddbd2447ba9e7591a2769fbab593f180d0c037c7b9f65a

Contents?: true

Size: 217 Bytes

Versions: 5

Compression:

Stored size: 217 Bytes

Contents

module WebMock
  class AssertionFailure
    @error_class = RuntimeError
    class << self
      attr_accessor :error_class
      def failure(message)
        raise @error_class.new(message)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vanity-1.7.1 vendor/ruby/1.9.1/gems/webmock-1.6.4/lib/webmock/assertion_failure.rb
webmock-1.6.4 lib/webmock/assertion_failure.rb
webmock-1.6.2 lib/webmock/assertion_failure.rb
webmock-1.6.1 lib/webmock/assertion_failure.rb
webmock-1.6.0 lib/webmock/assertion_failure.rb