Module: Delayed::MessageSending::ClassMethods
- Defined in:
- lib/dm-delayed-job/message_sending.rb
Instance Method Summary collapse
Instance Method Details
#handle_asynchronously(method) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/dm-delayed-job/message_sending.rb', line 8 def handle_asynchronously(method) without_name = "#{method}_without_send_later" define_method("#{method}_with_send_later") do |*args| send_later(without_name, *args) end alias_method_chain method, :send_later end |