Look up the typeclass
DNS
resource of name
.
name
must be a Resolv::DNS::Name
or a String
.
typeclass
should be one of the following:
Resolv::DNS::Resource::IN::ANY
Resolv::DNS::Resource::IN::CNAME
Resolv::DNS::Resource::IN::HINFO
Resolv::DNS::Resource::IN::MINFO
Resolv::DNS::Resource::IN::MX
Resolv::DNS::Resource::IN::NS
Resolv::DNS::Resource::IN::PTR
Resolv::DNS::Resource::IN::SOA
Resolv::DNS::Resource::IN::TXT
Returned resource is represented as a Resolv::DNS::Resource
instance, i.e. Resolv::DNS::Resource::IN::A
.
Looks up all typeclass
DNS
resources for name
. See getresource
for argument details.
Returns the list of plugins in this spec.
Whether this specification is stubbed - i.e. we have information about the gem from a stub line, without having to evaluate the entire gemspec file.
True if long
begins with the characters from short
.
Override to display a longer description of what this command does.
Invoke the command with the given list of arguments.
True if the backtrace option has been specified, or debug is on.
Writes out this config file, replacing its source.
Generates a !
line for bin_file_name
‘s wrapper copying arguments if necessary.
If the :custom_shebang config is set, then it is used as a template for how to create the shebang used for to run a gem’s executables.
The template supports 4 expansions:
$env the path to the unix env utility $ruby the path to the currently running ruby interpreter $exec the path to the gem's executable $name the name of the gem the executable is for
Creates a new package that will read or write to the file gem
.
Verifies that this gem:
Contains a valid gem specification
Contains a contents archive
The contents archive is not corrupt
After verification the gem specification from the gem is available from spec
Initialization tasks without the “yield self” or define operations.
Create the Rake tasks and actions specified by this Gem::PackageTask
. (define
is automatically called if a block is given to new
).
Noop this out so there are no anchors
Performs a Gem::Net::HTTP request of type request_class
on uri
returning a Gem::Net::HTTP response object. request maintains a table of persistent connections to reduce connect overhead.
Returns the first source in the list.
Returns true if this source list includes other
which may be a Gem::Source
or a source URI
.
Returns a Gem::StubSpecification
for every installed gem
A detailed description of this gem. See also summary
Recursively walk dependencies of this spec, executing the block
for each hop.