class ThymePluginNotify
Public Class Methods
new(thyme, options={})
click to toggle source
# File lib/thyme_verbose/plugin_notify.rb, line 3 def initialize(thyme, options={}) @message = options[:message] || 'Thyme is Up' end
Public Instance Methods
after(seconds_left)
click to toggle source
Hooks
# File lib/thyme_verbose/plugin_notify.rb, line 9 def after(seconds_left) `osascript -e 'display notification "#{@message}"'` end