lib/notifaction/notify.rb in notifaction-0.4.3 vs lib/notifaction/notify.rb in notifaction-0.4.4
- old
+ new
@@ -2,11 +2,11 @@
extend Notifaction::Helpers
# Display a notification bubble
# @since 0.1.0
def self.bubble(message, title)
- if Utils.os == :macosx
+ if Notifaction::Utils.os == :macosx
handler = Notifaction::Type::OSX.new
else
handler = Notifaction::Type::Linux.new
end
@@ -15,10 +15,10 @@
end
# Display a modal popup with a close button
# @since 0.1.0
def self.modal(message, title)
- if Utils.os == :macosx
+ if Notifaction::Utils.os == :macosx
handler = Notifaction::Type::OSX.new
else
handler = Notifaction::Type::Linux.new
end