move

move(win, x, y) Class Public methods

inflate

Zlib.inflate(string)Zlib::Inflate.inflate(string) Class Public methods Decompresses string. Raises a Zlib::NeedDict exception if a preset dictionary is needed for decompression. This method is almost equivalent to the following code: def inflate(string) zstream = Zlib::Inflate.new buf = zstream.inflate(string) zstream.finish zstream.close buf end See also Zlib.deflate

store

store(set, attr, flags) Instance Public methods Sends a STORE command to alter data associated with messages in the mailbox, in particular their flags. The set parameter is a number or an array of numbers or a Range object. Each number is a message sequence number. attr is the name of a data item to store: 'FLAGS' means to replace the message's flag list with the provided one; '+FLAGS' means to add the provided flags; and '-FLAGS' means to remove them. flags is a list of flags. T

acronym

acronym(word) Instance Public methods Specifies a new acronym. An acronym must be specified as it will appear in a camelized string. An underscore string that contains the acronym will retain the acronym when passed to camelize, humanize, or titleize. A camelized string that contains the acronym will maintain the acronym when titleized or humanized, and will convert the acronym into a non-delimited single lowercase word when passed to underscore. acronym 'HTML' titleize 'html'

expanded_name

expanded_name() Instance Public methods According to the XML spec, a root node has no expanded name name

columns

columns(table_name) Instance Public methods Returns an array of Column objects for the table specified by table_name. See the concrete implementation for details on the expected parameter values.

quoted_columns_for_index

quoted_columns_for_index(column_names, options = {}) Instance Protected methods

underscore

underscore(camel_cased_word) Instance Public methods Makes an underscored, lowercase form from the expression in the string. Changes '::' to '/' to convert namespaces to paths. 'ActiveModel'.underscore # => "active_model" 'ActiveModel::Errors'.underscore # => "active_model/errors" As a rule of thumb you can think of underscore as the inverse of camelize, though there are cases where that does not hold: 'SSLError'.underscore.camelize # => "SslError"

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.

log

log(msg) Instance Protected methods Log a message to stdlog, if it's defined. This implementation outputs the timestamp and message to the log. msg the message to log