lib/whois/parsers/whois.dns.be.rb in whois-parser-1.0.1 vs lib/whois/parsers/whois.dns.be.rb in whois-parser-1.1.0

- old
+ new

@@ -1,11 +1,11 @@ #-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # -# Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net> +# Copyright (c) 2009-2018 Simone Carletti <weppos@weppos.net> #++ require_relative 'base' @@ -41,13 +41,13 @@ when "out of service" :redemption when "not allowed" :invalid else - Whois.bug!(ParserError, "Unknown status `#{$1}'.") + Whois::Parser.bug!(ParserError, "Unknown status `#{$1}'.") end else - Whois.bug!(ParserError, "Unable to parse status.") + Whois::Parser.bug!(ParserError, "Unable to parse status.") end end property_supported :available? do !invalid? && (status == :available)