Results for: "Dir.chdir"

Previously, we had a child node on this class that contained either a constant read or a missing node. To not cause a breaking change, we continue to supply that API.

Returns a new location that is the result of chopping off the last byte.

Yields each Tuple in this AvailableSet

No documentation available

Delegates to @hash

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

No documentation available

Cached RemoteFetcher instance.

No documentation available

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.

Enumerate every known spec.

No documentation available
No documentation available
No documentation available
No documentation available

Args

v

String

Description

Public setter for the scheme component v (with validation).

See also URI::Generic.check_scheme.

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.scheme = "https"
uri.to_s  #=> "https://my.example.com"

Returns true if URI is hierarchical.

Description

URI has components listed in order of decreasing significance from left to right, see RFC3986 www.rfc-editor.org/rfc/rfc3986 1.2.3.

Usage

require 'uri'

uri = URI.parse("http://my.example.com/")
uri.hierarchical?
#=> true
uri = URI.parse("mailto:joe@example.com")
uri.hierarchical?
#=> false

Checks if URI has a path. For URI::LDAP this will return false.

Return value associated with key.

If there is no value for key and no block is given, returns ifnone.

Otherwise, calls block passing in the given key.

See ::DBM#fetch for more information.

No documentation available

Obtains a lock, runs the block, and releases the lock when the block completes. See the example under Thread::Mutex.

Iterates over keys and values. Note that unlike other collections, each without block isn’t supported.

Search took: 5ms  ·  Total Results: 899