backticks

backticks(cmd) Instance Public methods

>>

>>(n) Instance Public methods

getpty

PTY.spawn(command_line) { |r, w, pid| ... }PTY.spawn(command_line) => [r, w, pid]PTY.spawn(command, arguments, ...) { |r, w, pid| ... }PTY.spawn(command, arguments, ...) => [r, w, pid] Class Public methods Spawns the specified command on a newly allocated pty. You can also use the alias ::getpty. The command's controlling tty is set to the slave device of the pty and its standard input/output/error is redirected to the slave device. command and command_line are the full

racc_reduce

racc_reduce(toks, sim, tstack, vstack) Instance Public methods

==

prng1 == prng2 â true or false Instance Public methods Returns true if the two generators have the same internal state, otherwise false. Equivalent generators will return the same sequence of pseudo-random numbers. Two generators will generally have the same state only if they were initialized with the same seed Random.new == Random.new # => false Random.new(1234) == Random.new(1234) # => true and have the same invocation history. prng1 = Random.new(1234) prng

getch

getch() Class Public methods Read and returns a character from the window. See Curses::Key to all the function KEY_* available

new

new(height, width) Class Public methods Contruct a new Curses::Pad with constraints of height lines, width columns

document

document(generator, options, destination) Instance Public methods Generates documentation using the named generator (âdarkfishâ or âriâ) and following the given options. Documentation will be generated into destination

column_compare

column_compare(column1, op, column2) Instance Public methods

pipeline

pipeline(*cmds) Class Public methods ::pipeline starts a list of commands as a pipeline. It waits the finish of the commands. No pipe made for stdin of the first command and stdout of the last command. status_list = Open3.pipeline(cmd1, cmd2, ... [, opts]) Each cmd is a string or an array. If it is an array, the elements are passed to Process.spawn. cmd: commandline command line string which is passed to a shell [env, commandline, opts]