Sha256: 793ddbafbd1b067433872e2b8ca10e5d077a6705b1df963c9af7990770cd21b8

Contents?: true

Size: 475 Bytes

Versions: 8

Compression:

Stored size: 475 Bytes

Contents

module Mocktail
  class Explanation
    attr_reader :reference, :message

    def initialize(reference, message)
      @reference = reference
      @message = message
    end

    def type
      self.class
    end
  end

  class NoExplanation < Explanation
  end

  class UnsatisfyingCallExplanation < Explanation
  end

  class DoubleExplanation < Explanation
  end

  class ReplacedTypeExplanation < Explanation
  end

  class FakeMethodExplanation < Explanation
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mocktail-1.2.3 lib/mocktail/value/explanation.rb
mocktail-1.2.2 lib/mocktail/value/explanation.rb
mocktail-1.2.1 lib/mocktail/value/explanation.rb
mocktail-1.2.0 lib/mocktail/value/explanation.rb
mocktail-1.1.3 lib/mocktail/value/explanation.rb
mocktail-1.1.2 lib/mocktail/value/explanation.rb
mocktail-1.1.1 lib/mocktail/value/explanation.rb
mocktail-1.1.0 lib/mocktail/value/explanation.rb