Results for: "String#[]"

No documentation available

Builds a nodeset of all of the preceding nodes of the supplied node, in reverse document order

preceding

includes every element in the document that precedes this node,

except for ancestors

No documentation available

Creates a singleton RingFinger and looks for a RingServer. Returns the created RingFinger.

No documentation available

Return the authoritative instance of the command manager.

Returns self. Allows a CommandManager instance to stand in for the class itself.

Installs the gem dep_or_name and all its dependencies. Returns an Array of installed gem specifications.

If the :prerelease option is set and there is a prerelease for dep_or_name the prerelease version will be installed.

Unless explicitly specified as a prerelease dependency, prerelease gems that dep_or_name depend on will not be installed.

If c-1.a depends on b-1 and a-1.a and there is a gem b-1.a available then c-1.a, b-1 and a-1.a will be installed. b-1.a will need to be installed separately.

Installs the gem and returns a loaded Gem::Specification for the installed gem.

The gem will be installed with the following structure:

@gem_home/
  cache/<gem-version>.gem #=> a cached copy of the installed gem
  gems/<gem-version>/... #=> extracted files
  specifications/<gem-version>.gemspec #=> the Gem::Specification
No documentation available

Installs gems for this RequestSet using the Gem::Installer options.

If a block is given an activation request and installer are yielded. The installer will be nil if a gem matching the request was already installed.

Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.

Sets userinfo, argument is string like ‘name:pass’

returns the userinfo, either as ‘user’ or ‘user:password’

No documentation available

returns attributes.

setter for attributes val

Creates a class to wrap the C struct described by signature.

MyStruct = struct ['int i', 'char c']

Writes args to the stream.

See IO#print for full details.

Formats and writes to the stream converting parameters under control of the format string.

See Kernel#sprintf for format string details.

See IO#print.

See IO#printf.

No documentation available
No documentation available

Returns the index of the first object in ary such that the object is == to obj.

If a block is given instead of an argument, returns the index of the first object for which the block returns true. Returns nil if no match is found.

See also Array#rindex.

An Enumerator is returned if neither a block nor argument is given.

a = [ "a", "b", "c" ]
a.index("b")              #=> 1
a.index("z")              #=> nil
a.index { |x| x == "b" }  #=> 1
Search took: 3ms  ·  Total Results: 3008