lib/fnordmetric/worker.rb in fnordmetric-1.2.6 vs lib/fnordmetric/worker.rb in fnordmetric-1.2.7
- old
+ new
@@ -1,9 +1,9 @@
class FnordMetric::Worker
- def initialize
+ def initialize(opts = {})
@namespaces = FnordMetric.namespaces
- @opts = FnordMetric.options
+ @opts = FnordMetric.options(opts)
FnordMetric.register(self)
end
def initialized