delete_at

ary.delete_at(index) â obj or nil Instance Public methods Deletes the element at the specified index, returning that element, or nil if the index is out of range. See also #slice! a = ["ant", "bat", "cat", "dog"] a.delete_at(2) #=> "cat" a #=> ["ant", "bat", "dog"] a.delete_at(99) #=> nil

next_wait

next_wait(nonblock = nil) Instance Public methods Waits until any of the specified threads has terminated, and returns the one that does. If there is no thread to wait, raises ErrNoWaitingThread. If nonblock is true, and there is no terminated thread, raises ErrNoFinishedThread.

getname

getname(address) Instance Public methods Gets the hostname for address from the DNS resolver. address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved name will be a Resolv::DNS::Name.

screenheight

screenheight(win) Class Public methods

duplicable?

duplicable?() Instance Public methods Numbers are not duplicable: 3.duplicable? # => false 3.dup # => TypeError: can't dup Fixnum

child_site

child_site(idx) Instance Public methods

__pseudo_toplevel_evaluable=

__pseudo_toplevel_evaluable=(mode) Class Public methods

workspaces

workspaces() Instance Public methods WorkSpaces in the current stack

text

text(obj, width=nil) Instance Public methods

new

new(*requirements) Class Public methods Constructs a requirement from requirements. Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0".