Results for: "module_function"

Checks if this specification meets the requirement of dependency.

Uninstalls the Gem::Specification spec

No documentation available

Creates a spec with name, version. deps can specify the dependency or a block can be given for full customization of the specification.

Creates a gem with name, version and deps. The specification will be yielded before gem creation for customization. The gem will be placed in File.join @tempdir, 'gems'. The specification and .gem file location are returned.

Gzips data.

Deflates data

Returns whether or not the nmake command could be found.

Constructs a Gem::Resolver::DependencyRequest from a Gem::Dependency dep, a from_name and from_version requesting the dependency and a parent DependencyRequest

Uninstalls gem spec

Unaliases the given alias command.

No documentation available
No documentation available

returns an Array of the components defined from the COMPONENT Array

Constructs the default Hash of patterns

Constructs the default Hash of Regexp’s

Constructs the default Hash of patterns

Constructs the default Hash of Regexp’s

The content-type header

The content-type header

Sets the content-type header to type

Redirects to url with a WEBrick::HTTPStatus::Redirect status.

Example:

res.set_redirect WEBrick::HTTPStatus::TemporaryRedirect

Returns the number of threads waiting on the queue.

Returns the number of threads waiting on the queue.

Returns a conversion path.

p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP")
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
#    [#<Encoding:UTF-8>, #<Encoding:EUC-JP>]]

p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", universal_newline: true)
or
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", newline: :universal)
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
#    [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
#    "universal_newline"]

p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", universal_newline: true)
or
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", newline: :universal)
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
#    "universal_newline",
#    [#<Encoding:UTF-8>, #<Encoding:UTF-32BE>]]
Search took: 7ms  ·  Total Results: 3509