new

Cookie.new(name_string,*value)Cookie.new(options_hash) Class Public methods Create a new CGI::Cookie object. name_string The name of the cookie; in this form, there is no domain or expiration. The path is gleaned from the SCRIPT_NAME environment variable, and secure is false. *value value or list of values of the cookie options_hash A Hash of options to initialize this Cookie. Possible options are: name the name of the cookie. Required. value the cookie's value o

pos

strio.pos â integerstrio.tell â integer Instance Public methods Returns the current offset (in bytes) of strio.

env

env() Class Public methods

finished_documents

finished_documents(documents) Instance Public methods

append_features

append_features(cl) Class Public methods

no_touching

no_touching(&block) Instance Public methods Lets you selectively disable calls to `touch` for the duration of a block. Examples ActiveRecord::Base.no_touching do Project.first.touch # does nothing Message.first.touch # does nothing end Project.no_touching do Project.first.touch # does nothing Message.first.touch # works, but does not touch the associated project end

style

style(*args) Class Public methods

add_alias

add_alias(an_alias) Instance Public methods Adds an_alias that is automatically resolved

latin_actual_displayof

latin_actual_displayof(win, option=nil) Instance Public methods Also aliased as: ascii_actual_displayof

seconds_until_end_of_day

seconds_until_end_of_day() Instance Public methods Returns the number of seconds until 23:59:59. Time.new(2012, 8, 29, 0, 0, 0).seconds_until_end_of_day # => 86399 Time.new(2012, 8, 29, 12, 34, 56).seconds_until_end_of_day # => 41103 Time.new(2012, 8, 29, 23, 59, 59).seconds_until_end_of_day # => 0