Results for: "partition"

No documentation available

Parse and return a Time from string

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.

Iterates over each option, passing the option to the block.

No documentation available
No documentation available
No documentation available

Add a command-line option and handler to the command.

See OptionParser#make_switch for an explanation of opts.

handler will be called with two values, the value of the argument and the options hash.

If the first argument of add_option is a Symbol, it’s used to group options in output. See ‘gem help list` for an example.

Remove previously defined command-line argument name.

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
No documentation available

A recommended version for use with a ~> Requirement.

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

Usage:

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

Sets rdoc_options to value, ensuring it is an array. Don’t use this, push onto the array instead.

Terminate the application with exit code status, running any exit handlers that might have been defined.

Constructs the default Hash of patterns

Constructs the default Hash of patterns

The default OPTIONS request handler says GET, HEAD, POST and OPTIONS requests are allowed.

Returns a new closure wrapper for the name function.

See Fiddle::Closure

Parse uri into a [uri, option] pair.

The DRbProtocol module asks each registered protocol in turn to try to parse the URI. Each protocol signals that it does not handle that URI by raising a DRbBadScheme error. If no protocol recognises the URI, then a DRbBadURI error is raised.

Parse uri into a [uri, option] pair.

The DRbProtocol module asks each registered protocol in turn to try to parse the URI. Each protocol signals that it does not handle that URI by raising a DRbBadScheme error. If no protocol recognises the URI, then a DRbBadURI error is raised.

No documentation available
Search took: 3ms  ·  Total Results: 2873