lib/fiveruns/dash/metric.rb in fiveruns-dash-ruby-0.7.2 vs lib/fiveruns/dash/metric.rb in fiveruns-dash-ruby-0.7.3
- old
+ new
@@ -265,10 +265,10 @@
end
end
def instrument_options
returning({}) do |options|
- options[:reentrant_token] = self.object_id if @options[:reentrant]
+ options[:reentrant_token] = self.object_id.abs if @options[:reentrant]
end
end
def methods_to_instrument
@methods_to_instrument ||= Array(@options[:method]) + Array(@options[:methods])