Is this test being run on a Windows platform?
Is this test being run on a Windows platform?
Is this test being run on a Java platform?
Is this test being run on a Java platform?
Is spec
in gem_dir
?
Terminate the application with exit code status
, running any exit handlers that might have been defined.
Checks the user
and password
.
If password
is not provided, then user
is split, using URI::Generic.split_userinfo
, to pull user
and +password.
See also URI::Generic.check_user
, URI::Generic.check_password
.
Checks the user v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :USERINFO.
Can not have a registry or opaque component defined, with a user component defined.
Checks the password v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :USERINFO.
Can not have a registry or opaque component defined, with a user component defined.
Checks the host v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :HOST.
Can not have a registry or opaque component defined, with a host component defined.
Checks the port v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :PORT.
Can not have a registry or opaque component defined, with a port component defined.
Checks the opaque v
component for RFC2396 compliance and against the URI::Parser
Regexp
for :OPAQUE.
Can not have a host, port, user, or path component defined, with an opaque component defined.
Returns an Array
of the path split on ‘/’.
Merges a base path base
, with relative path rel
, returns a modified base path.
Private setter for attributes val
.
Checks the to v
component.
Returns the RFC822 e-mail text equivalent of the URL, as a String
.
Example:
require 'uri' uri = URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr") uri.to_mailtext # => "To: ruby-list@ruby-lang.org\nSubject: subscribe\nCc: myaddr\n\n\n"