class Notifaction::Type::Linux
Public Instance Methods
bubble(message, title)
click to toggle source
@since 0.1.0
# File lib/notifaction/types/linux.rb, line 6 def bubble(message, title) @response = `notify-send "#{title}" "#{message}"` $?.exitstatus == 0 fire_hooks({ method: __method__, message: message, title: title }) end
modal(message, title)
click to toggle source
@since 0.1.0
# File lib/notifaction/types/linux.rb, line 15 def modal(message, title) nil end