lib/linner/notifier.rb in linner-0.2.0 vs lib/linner/notifier.rb in linner-0.3.0
- old
+ new
@@ -9,10 +9,10 @@
puts "🍜 : Done in #{'%.3f' % (Time.now - time)}s."
end
def error(message)
puts message = "👻 : #{message}!"
- if Linner.environment.notification && TerminalNotifier.available?
+ if Linner.env.notification && TerminalNotifier.available?
TerminalNotifier.notify message, :title => 'Linner'
end
end
def exit