lib/backgrounded/handler/inprocess_handler.rb in backgrounded-0.7.5 vs lib/backgrounded/handler/inprocess_handler.rb in backgrounded-2.0.0.pre1
- old
+ new
@@ -1,10 +1,10 @@
module Backgrounded
module Handler
#simple handler to process synchronously and not actually in the background
#useful for testing
class InprocessHandler
- def request(object, method, *args)
+ def request(object, method, args, options={})
object.send method, *args
end
end
end
end