Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
check_userinfo(user)
public
# File lib/uri/file.rb, line 66
def check_userinfo(user)
raise URI::InvalidURIError, "can not set userinfo for file URI"
end