Results for: "max_by"

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

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 whether or not the nmake command could be found.

Returns a list of aliased commands

Creates a command alias at the given alias for the given command, passing any options along with it.

Shell::CommandProcessor.alias_command "lsC", "ls", "-CBF", "--show-control-chars"
Shell::CommandProcessor.alias_command("lsC", "ls"){|*opts| ["-CBF", "--show-control-chars", *opts]}

Unaliases the given alias command.

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, unless schemes is provided. Then it is a Regexp.union with self.pattern

returns Regexp that is default self.regexp, unless schemes is provided. Then it is a Regexp.union with self.pattern

Parameters

Available in OpenSSL >= 1.0.0.

Digests other than SHA1 may not be supported by other cryptography libraries.

Generates a mask bit for a priority level. See mask=

Generate an Image Button Input element as a string.

src is the URL of the image to use for the button. name is the input name. alt is the alternative text for the image.

Alternatively, the attributes can be specified as a hash.

image_button("url")
  # <INPUT TYPE="image" SRC="url">

image_button("url", "name", "string")
  # <INPUT TYPE="image" SRC="url" NAME="name" ALT="string">

image_button("SRC" => "url", "ALT" => "string")
  # <INPUT TYPE="image" SRC="url" ALT="string">

Returns a content type string such as “text”. This method returns nil if Content-Type: header field does not exist.

A convenience method which is same as follows:

text ','
breakable

UNTESTED

Adds a maker to the set of supported makers

No documentation available
Search took: 2ms  ·  Total Results: 621