Results for: "remove_const"

Sends a MOVE request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTP::Move object created from string path and initial headers hash initheader.

http = Net::HTTP.new(hostname)
http.move('/todos/1')

Sends a MOVE request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTP::Move object created from string path and initial headers hash initheader.

http = Net::HTTP.new(hostname)
http.move('/todos/1')

What does this dependency require?

Lists the external (to RubyGems) requirements that must be met for this gem to work. It’s simply information for the user.

Usage:

spec.requirements << 'libmagick, v6.0'
spec.requirements << 'A good graphics card'

Set requirements to req, ensuring it is an array.

Is remote fetching enabled?

Performs a Miller-Rabin probabilistic primality test for bn.

Deprecated in version 3.0. Use prime? instead.

checks and trial_div parameters no longer have any effect.

Parses the configuration data read from io and returns the whole content as a Hash.

Returns a hash of default options used by the Ruby iseq compiler.

For details, see InstructionSequence.compile_option=.

Sets the default values for various optimizations in the Ruby iseq compiler.

Possible values for options include true, which enables all options, false which disables all options, and nil which leaves all options unchanged.

You can also pass a Hash of options that you want to change, any options not present in the hash will be left unchanged.

Possible option names (which are keys in options) which can be set to true or false include:

Additionally, :debug_level can be set to an integer.

These default options can be overwritten for a single run of the iseq compiler by passing any of the above values as the options parameter to ::new, ::compile and ::compile_file.

Example:

Foo::Bar
   ^^^^^

Sets the continue timeout value, which is the number of seconds to wait for an expected 100 Continue response. If the HTTP object does not receive a response in this many seconds it sends the request body.

Sets the continue timeout value, which is the number of seconds to wait for an expected 100 Continue response. If the HTTP object does not receive a response in this many seconds it sends the request body.

The column number in bytes where this location starts from the start of the line.

Returns full path to the directory where gem’s extensions are installed.

Merge a set of command options with the set of default options (without modifying the default option hash).

Handle the given list of arguments by parsing them and recording the results.

No documentation available

Return an Array of Specifications contained within the gem_home we’ll be installing into.

No documentation available
No documentation available

Call hooks on installed gems

Specifies the rdoc options to be used when generating API documentation.

Usage:

spec.rdoc_options << '--title' << 'Rake -- Ruby Make' <<
  '--main' << 'README' <<
  '--line-numbers'

Return true if there are possible conflicts against the currently loaded specs.

Sets rdoc_options to value, ensuring it is an array.

Search took: 5ms  ·  Total Results: 3274