Module: DestroyBackgrounded::AliasMethods
- Defined in:
- lib/destroy_backgrounded.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
25 26 27 28 |
# File 'lib/destroy_backgrounded.rb', line 25 def self.included(base) base.send(:alias_method, :destroy_immediate, :destroy) base.send(:backgrounded, :destroy_immediate) end |