Sha256: 73340cbdacee880865ae75cfdc582287ce216fe64fd63b2bdff6460d8ea05b40
Contents?: true
Size: 496 Bytes
Versions: 4
Compression:
Stored size: 496 Bytes
Contents
require 'caruby/migration/migratable' require 'caruby/domain/uniquify' module CaRuby module Resource module Unique # Augments this {Unique} mix-in with a {Migratable#migrate} method which calls {Unique#uniquify} # to make this Resource object unique in the scope of its class. # # @param (see Migratable#migrate) def migrate(row, migrated) super logger.debug { "Migrator making #{self} unique..." } uniquify end end end end
Version data entries
4 entries across 4 versions & 1 rubygems