class TDP::ContradictionError

Raised when schema definition contains multiple patches with same name and different content.

Attributes

patches[R]

Contradicting patches (Patch objects)

Public Class Methods

new(patches) click to toggle source
patches

an array of problematic patches (Patch objects)

Calls superclass method
# File lib/tdp.rb, line 68
def initialize(patches)
  super('Patches with same name and different content: ' +
    patches.map(&:full_filename).join(' / ')
  )
  @patches = patches.clone.freeze
end