get

get(win, name, klass) Class Public methods

email_field

email_field(object_name, method, options = {}) Instance Public methods Returns a #text_field of type âemailâ. email_field("user", "address") # => <input id="user_address" name="user[address]" type="email" />

to_feed

to_feed(rss, hours) Instance Public methods

change_column_default

change_column_default(table_name, column_name, default) Instance Public methods Changes the default value of a table column.

drag

drag(win, x, y, token=None) Class Public methods

info

info() Instance Public methods

form

form(method = "post", action = script_name, enctype = "application/x-www-form-urlencoded") Instance Public methods Generate a Form element as a string. method should be either âgetâ or âpostâ, and defaults to the latter. action defaults to the current CGI script name. enctype defaults to âapplication/x-www-form-urlencodedâ. Alternatively, the attributes can be specified as a hash. See also multipart_form() for forms that include file uploads. form{ "string" } # <FORM METHOD="

charset

charset(*arguments) Instance Public methods

data

data(keys={}) Instance Public methods Returns image data in the form of a string. The following options may be specified: :background color If the color is specified, the data will not contain any transparency information. In all transparent pixels the color will be replaced by the specified color. :format format-name Specifies the name of the image file format handler to be used. Specifically, this subcommand searches for the first handler whose name matches an initial substrin

hour=

hour=(hour) Instance Public methods