Skip to content

Commit

Permalink
Fix message sending in Ruby 1.9
Browse files Browse the repository at this point in the history
Closes tobi#66
  • Loading branch information
bkeepers committed May 14, 2010
1 parent 3c7fa7c commit 92e71ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/delayed/message_sending.rb
Expand Up @@ -8,8 +8,8 @@ def initialize(target, options)
end

def method_missing(method, *args)
Delayed::Job.create @options.merge(
:payload_object => Delayed::PerformableMethod.new(@target, method.to_sym, args)
Job.create @options.merge(
:payload_object => PerformableMethod.new(@target, method.to_sym, args)
)
end
end
Expand Down

0 comments on commit 92e71ee

Please sign in to comment.