Skip to content

Instantly share code, notes, and snippets.

@covard
Last active December 17, 2015 15:19
Show Gist options
  • Save covard/5630559 to your computer and use it in GitHub Desktop.
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.
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