lib/linner/notifier.rb in linner-0.6.2 vs lib/linner/notifier.rb in linner-0.6.3
- old
+ new
@@ -4,16 +4,16 @@
class Notifier
class << self
def profile
time = Time.now
yield
- puts "š : Done in #{'%.3f' % (Time.now - time)}s."
+ puts "š : Done in #{"%.3f" % (Time.now - time)}s."
end
def error(message)
puts message = "š» : #{message}!"
if Linner.env.notification && TerminalNotifier.available?
- TerminalNotifier.notify message, :title => 'Linner', :sender => 'com.apple.Terminal'
+ TerminalNotifier.notify message, :title => "Linner"
end
end
def exit
puts "\ršµ : Let's take a break!"