lib/whois/parser.rb in whois-parser-1.1.0 vs lib/whois/parser.rb in whois-parser-1.2.0

- old
+ new

@@ -16,11 +16,11 @@ require 'active_support/core_ext/time/calculations' require_relative 'parser/version' require_relative 'parser/errors' -# These extensions add Whois::Record#parser, the Whois.registered?, and +# These extensions add Whois::Record#parser, the Whois.registered?, and # Whois.available? shortcuts. # These are handy convenient methods, and they are loaded by default. require_relative 'parser_extensions/whois' require_relative 'parser_extensions/whois_parser' @@ -61,10 +61,10 @@ # @param [String] message # @return [void] # # @api private # @private - def bug!(error, message) + def self.bug!(error, message) raise error, message.dup + " Please report the issue at" + " http://github.com/weppos/whois-parser/issues" end