class SuperDiff::Errors::NoOperationalSequencerAvailableError

Attributes

actual[RW]
expected[RW]

Public Class Methods

create(expected, actual) click to toggle source
# File lib/super_diff/errors/no_operational_sequencer_available_error.rb, line 4
def self.create(expected, actual)
  allocate.tap do |error|
    error.expected = expected
    error.actual = actual
    error.__send__(:initialize)
  end
end
new() click to toggle source
Calls superclass method
# File lib/super_diff/errors/no_operational_sequencer_available_error.rb, line 14
      def initialize
        super(<<-MESSAGE)
There is no operational sequencer available to handle an "expected" value of
type #{expected.class} and an "actual" value of type #{actual.class}.
        MESSAGE
      end