Creates a duplicate spec without large blobs that aren’t used at runtime.
Returns an object you can use to sort specifications in sort_by.
Returns a Ruby code representation of this specification, such that it can be eval’ed and reconstruct the same specification later. Attributes that still have their default values are omitted.
Returns self
Uninstalls gem spec
Removes installed executables and batch files (windows only) for spec
.
Regenerates plugin wrappers after removal.
Display an error message in a location expected to get error messages. Will ask question
if it is not nil.
do nothing
do nothing
Returns default port.
Returns default port.
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.
Protected setter for the password component v
.
See also URI::Generic.password=
.
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.
Calculates relative path to oth from self.
require 'uri' uri = URI.parse('http://my.example.com') uri.route_to('http://my.example.com/main.rbx?page=1') #=> #<URI::Generic /main.rbx?page=1>
Checks the to v
component.
Private setter for to v
.