Sha256: de521088e164127ab3545daf50d0f25c54f1b5e3f14044125cf485313aa553da
Contents?: true
Size: 433 Bytes
Versions: 8
Compression:
Stored size: 433 Bytes
Contents
module TestNotifier module Notifier module Snarl extend self def supported? return false unless RUBY_PLATFORM =~ /(mswin|mingw)/ begin require "snarl" unless defined?(Snarl) true rescue LoadError false end end def notify(options) Snarl.show_message(options[:title], options[:message], options[:image]) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems