Class: Burble::Growl_Sender
- Inherits:
-
Object
- Object
- Burble::Growl_Sender
- Defined in:
- lib/burble/growl-sender.rb
Instance Method Summary collapse
Instance Method Details
#send(title, text) ⇒ Object
5 6 7 8 |
# File 'lib/burble/growl-sender.rb', line 5 def send(title, text) @growler ||= Growl.new "localhost", "burble", ["Burble Notification"] @growler.notify "Burble Notification", title, text end |