class Guard::Unity::Notifier
Constants
- TITLE
Attributes
alert[RW]
cli[RW]
Public Class Methods
new(options={})
click to toggle source
# File lib/guard/unity/notifier.rb, line 12 def initialize(options={}) @alert = options[:alert] || Guard::Unity::Notifier::Alert.new @cli = options[:cli] || Guard::Unity::Notifier::CLI.new end
Public Instance Methods
notify(results)
click to toggle source
# File lib/guard/unity/notifier.rb, line 17 def notify(results) alert.notify(results, TITLE) cli.notify(results) end