lib/backgrounded/class_methods.rb in backgrounded-0.6.1 vs lib/backgrounded/class_methods.rb in backgrounded-0.6.2

- old
+ new

@@ -9,9 +9,10 @@ define_method "#{method_basename}_backgrounded#{punctuation}" do |*args| Backgrounded.handler.request(self, method, *args) end end cattr_accessor :backgrounded_options - self.backgrounded_options = methods_with_options + self.backgrounded_options ||= {} + self.backgrounded_options.merge! methods_with_options end end end \ No newline at end of file