Module: DataMapped::Permanent

Defined in:
lib/data_mapped/permanent.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



25
26
27
# File 'lib/data_mapped/permanent.rb', line 25

def self.included(other)
  other.class_eval { before :destroy, :vomit_before_destruction }
end