# File lib/whois.rb, line 100 def registered?(qstring) result = query(qstring).registered? if result.nil? warn "This method is not supported for this kind of object.\n" + "Use Whois.query('#{qstring}') instead." end result end