exit

exit(status=true)Kernel::exit(status=true)Process::exit(status=true) Instance Public methods Initiates the termination of the Ruby script by raising the SystemExit exception. This exception may be caught. The optional parameter is used to return a status code to the invoking environment. true and FALSE of status means success and failure respectively. The interpretation of other integer values are system dependent. begin exit puts "never get here" rescue SystemExit puts "re

reset

reset() Instance Public methods

signame

Signal.signame(signo) â string Class Public methods convert signal number to signal name Signal.trap("INT") { |signo| puts Signal.signame(signo) } Process.kill("INT", 0) produces: INT

baseName

baseName() Instance Public methods BSTR baseName the base name of the node (nodename with the prefix stripped off)

selection_includes

selection_includes(index) Instance Public methods

divmod

num.divmod(numeric) â array Instance Public methods Returns an array containing the quotient and modulus obtained by dividing num by numeric. If q, r = x.divmod(y), then q = floor(x/y) x = q*y+r The quotient is rounded toward -infinity, as shown in the following table: a | b | a.divmod(b) | a/b | a.modulo(b) | a.remainder(b) ------+-----+---------------+---------+-------------+--------------- 13 | 4 | 3, 1 | 3 | 1 | 1 ------+-----+-

set_user

set_user(v) Instance Protected methods protected setter for the user component v see also #user=

debug_msg

debug_msg(*msg) Instance Public methods Output progress information if debugging is enabled

executable

executable() Instance Public methods Singular accessor for executables

remove_dir

remove_dir(path, force = false) Class Public methods Removes a directory dir and its contents recursively. This method ignores StandardError if force is true.