month

time.month â fixnum Instance Public methods Returns the month of the year (1..12) for time. t = Time.now #=> 2007-11-19 08:27:30 -0600 t.mon #=> 11 t.month #=> 11

load_call 2

load_call( stringOrReadable ) Instance Public methods Returns [ methodname, params ]

cget_tkstring

cget_tkstring(slot) Instance Public methods

new

new(c_store) Class Public methods

button_cget_tkstring

button_cget_tkstring(option) Instance Public methods

fresh_when

fresh_when(record_or_options, additional_options = {}) Instance Public methods Sets the etag, last_modified, or both on the response and renders a 304 Not Modified response if the request is already fresh. Parameters: :etag. :last_modified. :public By default the Cache-Control header is private, set this to true if you want your application to be cachable by other devices (proxy caches). Example: def show @article = Article.find(params[:id]) fresh_when(etag: @article, l

hash_dir

hash_dir(silent = false) Instance Public methods

close

close(unlink_now=false) Instance Public methods Closes the file. If unlink_now is true, then the file will be unlinked (deleted) after closing. Of course, you can choose to later call unlink if you do not unlink it now. If you don't explicitly unlink the temporary file, the removal will be delayed until the object is finalized.

open_message_stream

open_message_stream(from_addr, *to_addrs) Instance Public methods Opens a message writer stream and gives it to the block. The stream is valid only in the block, and has these methods: puts(str = '') outputs STR and CR LF. print(str) outputs STR. printf(fmt, *args) outputs sprintf(fmt,*args). write(str) outputs STR and returns the length of written bytes. <<(str) outputs STR and returns self. If a single CR (ârâ) or LF (ânâ) is found in the message, it is con

default

default(idx) Instance Public methods