Does this dependency match the specification described by name
and version
or match spec
?
NOTE: Unlike matches_spec?
this method does not return true when the version is a prerelease version unless this is a prerelease dependency.
Iterator over dependency_order
Cached RemoteFetcher
instance.
Yields each source URI
in the list.
Default fetcher instance. Use this instead of ::new
to reduce object allocation.
Enumerate every known spec. See ::dirs=
and ::add_spec
to set the list of specs.
See IO.foreach
when path
is a file.
See Dir.foreach
when path
is a directory.
Returns a Echo
object, for the given strings
Iterates a block for each line.
v
String
public setter for the scheme component v
. (with validation)
see also URI::Generic.check_scheme
require 'uri' uri = URI.parse("http://my.example.com") uri.scheme = "https" # => "https" uri #=> #<URI::HTTP:0x000000008e89e8 URL:https://my.example.com>