Skip to content
Browse files

return self on background in the no-op gem

  • Loading branch information...
1 parent f886ceb commit 923376e960338d388a86fe8489d643ed95368411 @carlhoerberg committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 gems/no-op/lib/torquebox/no-op/messaging.rb
View
5 gems/no-op/lib/torquebox/no-op/messaging.rb
@@ -6,8 +6,7 @@ def self.included(base)
end
def background(options = {})
- # no-op
- # todo: set a global option to run the method synchronously?
+ self
end
module ClassMethods
@@ -21,4 +20,4 @@ class MessageProcessor
end
end
-end
+end

0 comments on commit 923376e

Please sign in to comment.
Something went wrong with that request. Please try again.