Results for: "max_by"

No documentation available
No documentation available

Creates a socket at address

If address is multicast address then interface_address and multicast_interface can be set as optional.

A created socket is bound to interface_address. If you use IPv4 multicast then the interface of interface_address is used as the inbound interface. If interface_address is omitted or nil then ‘0.0.0.0’ or ‘::1’ is used.

If you use IPv6 multicast then multicast_interface is used as the inbound interface. multicast_interface is a network interface index. If multicast_interface is omitted then 0 (default interface) is used.

Returns an expiry Time based on sec which can be one of:

Numeric

sec seconds into the future

true

the expiry time is the start of 1970 (i.e. expired)

nil

it is Tue Jan 19 03:14:07 GMT Standard Time 2038 (i.e. when UNIX clocks will die)

Creates a Rinda::Tuple for ary.

No documentation available

Register the Symbol command as a gem command.

Unregister the Symbol command as a gem command.

Return a sorted list of all command names as strings.

No documentation available

Does this dependency match spec?

NOTE: This is not a convenience method. Unlike match? this method returns true when spec is a prerelease version even if this dependency is not a prerelease dependency.

No documentation available

Defaults to use Ruby’s program prefix and suffix.

Indicate if this NameTuple matches the current platform.

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

This is ported over from the yaml_tree in 1.9.3

Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

A recommended version for use with a ~> Requirement.

Sets the rubygems_version to the current RubyGems version.

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"

Returns Regexp that is default self.regexp[:ABS_URI_REF], unless schemes is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI].

Search took: 3ms  ·  Total Results: 506