lib/linner/notifier.rb in linner-0.3.2 vs lib/linner/notifier.rb in linner-0.4.0
- old
+ new
@@ -1,10 +1,10 @@
require "terminal-notifier"
module Linner
class Notifier
class << self
- def info
+ def profile
time = Time.now
yield
puts "🍜 : Done in #{'%.3f' % (Time.now - time)}s."
end