lib/test_notifier/notifier/snarl.rb in test_notifier-0.3.5.rc.1 vs lib/test_notifier/notifier/snarl.rb in test_notifier-0.3.5.rc.2

- old
+ new

@@ -5,18 +5,18 @@ def supported? return false unless RUBY_PLATFORM =~ /(mswin|mingw)/ begin - require "snarl" unless defined?(Snarl) + require "snarl" unless defined?(::Snarl) true rescue LoadError false end end def notify(options) - Snarl.show_message(options[:title], options[:message], options[:image]) + ::Snarl.show_message(options[:title], options[:message], options[:image]) end end end end