lib/bullet.rb in flyerhzm-bullet-1.5.0 vs lib/bullet.rb in flyerhzm-bullet-1.5.1
- old
+ new
@@ -18,10 +18,10 @@
def growl=(growl)
if growl
begin
require 'ruby-growl'
- growl = Growl.new('localhost', 'ruby-growl', ['Bullet Notification'], nil, @@growl_password)
+ growl = Growl.new('localhost', 'ruby-growl', ['Bullet Notification'], nil, @growl_password)
growl.notify('Bullet Notification', 'Bullet Notification', 'Bullet Growl notifications have been turned on')
rescue MissingSourceFile
raise NotificationError.new('You must install the ruby-growl gem to use Growl notifications: `sudo gem install ruby-growl`')
end
end