Last active
December 17, 2015 15:19
-
-
Save covard/5630559 to your computer and use it in GitHub Desktop.
Example on how to use terminal-notifier gem. Great gem for when running ruby scripts and you want an alert of when it has completed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'terminal-notifier' | |
message = 'Script has completed' | |
title = 'Hey You!' | |
TerminalNotifier.notify message, title: title | |
# Happy Rubying =) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment