Module: DestroyBackgrounded::InstanceMethods
- Defined in:
- lib/destroy_backgrounded.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/destroy_backgrounded.rb', line 33 def destroy if self.class.destroy_backgrounded? destroy_immediate_backgrounded else destroy_immediate end end |