Module: Tramp::Callbacks::ClassMethods

Defined in:
lib/tramp/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#after_destroy(*method_names) ⇒ Object



18
19
20
# File 'lib/tramp/callbacks.rb', line 18

def after_destroy(*method_names)
  self.after_destroy_callback_names += method_names
end

#after_save(*method_names) ⇒ Object



14
15
16
# File 'lib/tramp/callbacks.rb', line 14

def after_save(*method_names)
  self.after_save_callback_names += method_names
end