Class: AutotestNotification::Linux
- Inherits:
-
Object
- Object
- AutotestNotification::Linux
- Defined in:
- lib/autotest_notification/linux.rb
Class Method Summary collapse
Class Method Details
.notify(title, msg, img) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/autotest_notification/linux.rb', line 4 def notify(title, msg, img) if has_notify? notify_send(title, msg, img) elsif has_zenity? zenity(title, msg, img) else kdialog(title, msg, img) end end |