lib/fiveruns/dash/session.rb in fiveruns-dash-ruby-0.7.6 vs lib/fiveruns/dash/session.rb in fiveruns-dash-ruby-0.8.0
- old
+ new
@@ -50,10 +50,10 @@
end
end
def reset
exception_recorder.reset
- configuration.metrics.each(&:reset)
+ configuration.metrics.each { |m| m.reset }
end
def data
real_data = configuration.metrics.map { |metric| metric.data }.compact
virtual_data = configuration.metrics.map { |metric| metric.calculate(real_data) }.compact
\ No newline at end of file