set_default_value

set_default_value(val) Instance Public methods Also aliased as: default_value=

select_date

select_date(date = Date.current, options = {}, html_options = {}) Instance Public methods Returns a set of html select-tags (one for year, month, and day) pre-selected with the date. It's possible to explicitly set the order of the tags using the :order option with an array of symbols :year, :month and :day in the desired order. If the array passed to the :order option does not contain all the three symbols, all tags will be hidden. If anything is passed in the html_options hash it

arrange

arrange(container) Class Public methods

unlink

unlink() Instance Public methods Unlinks (deletes) the file from the filesystem. One should always unlink the file after using it, as is explained in the âExplicit closeâ good practice section in the Tempfile overview: file = Tempfile.new('foo') begin ...do something with file... ensure file.close file.unlink # deletes the temp file end Unlink-before-close On POSIX systems it's possible to unlink a file before closing it. This practice is explained in detail in the Tempf

find_by_name

find_by_name(name, *requirements) Class Public methods Find the best specification matching a name and requirements. Raises if the dependency doesn't resolve to a valid specification.

formatDate

formatDate(arg0, arg1, arg2=nil) Instance Public methods BSTR formatDate VARIANT arg0 --- varDate [IN] BSTR arg1 --- bstrFormat [IN] VARIANT arg2 --- varDestLocale [IN]

end

rng.end â obj Instance Public methods Returns the object that defines the end of the range. (1..10).end #=> 10 (1...10).end #=> 10

item_order

item_order(item, visible=false) Instance Public methods

lsub

lsub(refname, mailbox) Instance Public methods Sends a LSUB command, and returns a subset of names from the set of names that the user has declared as being âactiveâ or âsubscribedâ. refname and mailbox are interpreted as for list(). The return value is an array of Net::IMAP::MailboxList.

exception_class

exception_class() Instance Public methods Determines whether there was an error and raies the appropriate error based on the reply code of the response