Sha256: 667ffe4a7633fdf26be6ad1e92f66769fdbadabf3b06a83dd482d7609706851f

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 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 UnsatisfiedStubExplanation < Explanation
  end

  class DoubleExplanation < Explanation
  end

  class ReplacedTypeExplanation < Explanation
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mocktail-0.0.6 lib/mocktail/value/explanation.rb
mocktail-0.0.5 lib/mocktail/value/explanation.rb
mocktail-0.0.4 lib/mocktail/value/explanation.rb