lib/archimedes.rb in archimedes-0.0.1 vs lib/archimedes.rb in archimedes-1.0.0
- old
+ new
@@ -32,6 +32,10 @@
service.time(metric, rate) do
yield
end
end
-end
\ No newline at end of file
+ def timing(metric, duration = 1)
+ service.timing(metric, duration)
+ end
+
+end