find_index

ary.index(obj) â int or nilary.index { |item| block } â int or nilary.index â Enumerator Instance Public methods 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 #rindex. An Enumerator is returned if neither a block nor argument is given. a = [ "a", "b", "c" ] a

e

e(*args) Instance Public methods e(*args): execute command. returns String (e is for exec or eval) *args: command arguments

packqw

packqw(qw) Instance Public methods

spawn

spawn([env,] command... [,options]) â pidProcess.spawn([env,] command... [,options]) â pid Class Public methods spawn executes specified command and return its pid. This method doesn't wait for end of the command. The parent process should use Process.wait to collect the termination status of its child or use Process.detach to register disinterest in their status; otherwise, the operating system may accumulate zombie processes. spawn has bunch of options to specify process

wait_to_finish_all_process_controllers

wait_to_finish_all_process_controllers() Class Public methods

new

new(anchor) Class Public methods Create a new Alias that points to an anchor

load_file

load_file(filename) Instance Public methods Load the file into memory, and put the first part on the curses display.

new

new(text = nil, location = nil) Class Public methods Creates a new comment with text that is found in the RDoc::TopLevel location.

create

create(nb) Class Public methods

compare_with_coercion

compare_with_coercion(other) Instance Public methods Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there. <=>