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