lib/cutter/stamper.rb in cutter-0.8.4 vs lib/cutter/stamper.rb in cutter-0.8.5
- old
+ new
@@ -1,7 +1,5 @@
-require 'active_support/core_ext/string/inflections.rb'
-
class Object
def time_now
Time.now.strftime("%s%L").to_i
end
@@ -102,10 +100,10 @@
messages[key]
end
def stamp lbl = nil
return if Stamper.off?
- message = messages[lbl] || lbl.to_s.humanize
+ message = messages[lbl] || lbl.to_s
time_passed = time_now - time_initial
print " " * nindent
printf("stamp: %7d ms #{message}\n", time_passed)
end