lib/guard/notifiers/gntp.rb in guard-1.6.2 vs lib/guard/notifiers/gntp.rb in guard-1.7.0
- old
+ new
@@ -52,12 +52,13 @@
end
# Test if the notification library is available.
#
# @param [Boolean] silent true if no error messages should be shown
+ # @param [Hash] options notifier options
# @return [Boolean] the availability status
#
- def available?(silent = false)
+ def available?(silent = false, options = {})
if RbConfig::CONFIG['host_os'] =~ /darwin|linux|freebsd|openbsd|sunos|solaris|mswin|mingw|cygwin/
require 'ruby_gntp'
true
else