new

new() Class Public methods

pretty_print

pretty_print(q) Instance Public methods A default pretty printing method for general objects. It calls pretty_print_instance_variables to list instance variables. If self has a customized (redefined) inspect method, the result of self.inspect is used but it obviously has no line break hints. This module provides predefined pretty_print methods for some of the most commonly used built-in classes for convenience.

select_one

select_one(arel, name = nil, binds = []) Instance Public methods Returns a record hash with the column names as keys and column values as values.

lineno

ARGF.lineno â integer Instance Public methods Returns the current line number of ARGF as a whole. This value can be set manually with ARGF.lineno=. For example: ARGF.lineno #=> 0 ARGF.readline #=> "This is line 1\n" ARGF.lineno #=> 1

cidr

cidr(name, options = {}) Instance Public methods

connect_nonblock

ssl.connect_nonblock => self Instance Public methods Initiates the SSL/TLS handshake as a client in non-blocking manner. # emulates blocking connect begin ssl.connect_nonblock rescue IO::WaitReadable IO.select([s2]) retry rescue IO::WaitWritable IO.select(nil, [s2]) retry end

selection_clear

selection_clear(first, last=None) Instance Public methods

latin_actual

latin_actual(option=nil) Instance Public methods Also aliased as: ascii_actual

document_self=

document_self=(document_self) Instance Public methods Enables or disables documentation of this CodeObject unless it has been turned off by :enddoc:. If the argument is nil it means the documentation is turned off by :nodoc:.

at_beginning_of_month

at_beginning_of_month() Instance Public methods Alias for: beginning_of_month