Results for: "Array"

Searches key in id list. The result is returned or yielded if a block is given. If it isn’t found, nil is returned.

Creates the summary table, passing each line to the block (without newline). The arguments args are passed along to the summarize method which is called on every option.

Sets the parent of this child to the supplied argument.

other

Must be a Parent object. If this object is the same object as the existing parent of this child, no action is taken. Otherwise, this child is removed from the current parent (if one exists), and is added to the new parent.

Returns

The parent added

Evaluates to true if raw mode is set for this element. This is the case if the context has :raw set to :all or an array containing the name of this element.

The evaluation is tested against expanded_name, and so is namespace sensitive.

Private helper class. Removes quotes from quoted strings

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Returns the first advertised TupleSpace.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.

For example:

def usage
  "#{program_name} FILE [FILE ...]"
end

def arguments
  "FILE          name of file to find"
end

Create on demand parser.

Wraps text to width

True if the backtrace option has been specified, or debug is on.

No documentation available
No documentation available

Parse obj, returning an [op, version] pair. obj can be a String or a Gem::Version.

If obj is a String, it can be either a full requirement specification, like ">= 1.2", or a simple version number, like "1.2".

parse("> 1.0")                 # => [">", Gem::Version.new("1.0")]
parse("1.0")                   # => ["=", Gem::Version.new("1.0")]
parse(Gem::Version.new("1.0")) # => ["=,  Gem::Version.new("1.0")]
Search took: 2ms  ·  Total Results: 1412