class SuperDiff::Errors::NoDiffFormatterAvailableError

Attributes

operation_tree[RW]

Public Class Methods

create(operation_tree) click to toggle source
# File lib/super_diff/errors/no_diff_formatter_available_error.rb, line 4
def self.create(operation_tree)
  allocate.tap do |error|
    error.operation_tree = operation_tree
    error.__send__(:initialize)
  end
end
new() click to toggle source
Calls superclass method
# File lib/super_diff/errors/no_diff_formatter_available_error.rb, line 13
      def initialize
        super(<<-MESSAGE)
There is no diff formatter available to handle an operation tree object of
#{operation_tree.class}.
        MESSAGE
      end