Class: Beans::Notification
- Inherits:
-
Object
- Object
- Beans::Notification
- Defined in:
- lib/beans/notification.rb
Instance Method Summary collapse
-
#initialize(m1, m2) ⇒ Notification
constructor
A new instance of Notification.
Constructor Details
#initialize(m1, m2) ⇒ Notification
8 9 10 11 12 13 14 |
# File 'lib/beans/notification.rb', line 8 def initialize( m1, m2 ) @growl = Growl.new('localhost', 'beans') @growl.add_notification 'beans', 'beans', File.read(File.join(LIBDIR,'/images/bean-icon.png')) @growl.notify 'beans', m1, m2 end |