getquota

getquota(mailbox) Instance Public methods Sends the GETQUOTA command along with specified mailbox. If this mailbox exists, then an array containing a Net::IMAP::MailboxQuota object is returned. This command generally is only available to server admin.

text_field

text_field(name = "", value = nil, size = 40, maxlength = nil) Instance Public methods Generate a text field Input element, as a String. name is the name of the input field. value is its initial value. size is the size of the input area. maxlength is the maximum length of input accepted. Alternatively, the attributes can be specified as a hash. text_field("name") # <INPUT TYPE="text" NAME="name" SIZE="40"> text_field("name", "value") # <INPUT TYPE="text" NAME="name

_unset_global_var

_unset_global_var(p1) Instance Public methods

recvfrom

unixsocket.recvfrom(maxlen [, flags]) => [mesg, unixaddress] Instance Public methods Receives a message via unixsocket. maxlen is the maximum number of bytes to receive. flags should be a bitwise OR of Socket::MSG_* constants. s1 = Socket.new(:UNIX, :DGRAM, 0) s1_ai = Addrinfo.unix("/tmp/sock1") s1.bind(s1_ai) s2 = Socket.new(:UNIX, :DGRAM, 0) s2_ai = Addrinfo.unix("/tmp/sock2") s2.bind(s2_ai) s3 = UNIXSocket.for_fd(s2.fileno) s1.send "a", 0, s2_ai p s3.recvfrom(10) #=> ["

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

to_s

to_s() Instance Public methods

set_window_element

set_window_element(idxs, win) Instance Public methods

update

update(other_hash) Instance Public methods Updates the receiver in-place, merging in the hash passed as argument: hash_1 = ActiveSupport::HashWithIndifferentAccess.new hash_1[:key] = 'value' hash_2 = ActiveSupport::HashWithIndifferentAccess.new hash_2[:key] = 'New Value!' hash_1.update(hash_2) # => {"key"=>"New Value!"} The argument can be either an ActiveSupport::HashWithIndifferentAccess or a regular Hash. In either case the merge respects the semantics of indifferent ac

subject=

subject=(p1) Instance Public methods

number_to_currency

number_to_currency(number, options = {}) Instance Public methods Formats a number into a currency string (e.g., $13.65). You can customize the format in the options hash. Options :locale - Sets the locale to be used for formatting (defaults to current locale). :precision - Sets the level of precision (defaults to 2). :unit - Sets the denomination of the currency (defaults to â$â). :separator - Sets the separator between the units (defaults to â.â). :delimiter - Sets the th