calculate

calculate(operation, column_name, options = {}) Instance Public methods This calculates aggregate values in the given column. Methods for count, sum, average, minimum, and maximum have been added as shortcuts. There are two basic forms of output: * Single aggregate value: The single value is type cast to Fixnum for COUNT, Float for AVG, and the given column's type for everything else. * Grouped values: This returns an ordered hash of the values and groups them. It takes either

next

next() Instance Public methods Alias for: succ

id2obj

id2obj(tree, id) Class Public methods

spawn

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 c

[]=

[]=(index_or_header, value) Instance Public methods In the default mixed mode, this method assigns rows for index access and columns for header access. You can force the index association by first calling #by_col!() or #by_row!(). Rows may be set to an Array of values (which will inherit the table's headers()) or a CSV::Row. Columns may be set to a single value, which is copied to each row of the column, or an Array of values. Arrays of values are assigned to rows top to bottom i

new

new(scope, use_obj_id = false) Class Public methods

==

meth == other_meth â true or false Instance Public methods Two method objects are equal if they are bound to the same object and refer to the same method definition and their owners are the same class or module.

rake_output_message

rake_output_message(message) Instance Public methods Send the message to the default rake output (which is $stderr).

find_tcltk_header

find_tcltk_header(tclver, tkver) Instance Public methods

_toUTF8

_toUTF8(str, encoding=nil) Instance Public methods