hash

hash() Instance Public methods

size

size() Instance Public methods

last_modified

last_modified() Instance Public methods Time this file was last modified, if known

restore_overwrite_from_file

restore_overwrite_from_file(file, keys={}) Instance Public methods

auth_only

auth_only(address, port = nil, account = nil, password = nil, isapop = false) Class Public methods Opens a POP3 session, attempts authentication, and quits. This method raises POPAuthenticationError if authentication fails. Example: normal POP3 Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword') Example: APOP Net::POP3.auth_only('pop.example.com', 110, 'YourAccount', 'YourPassword', true)

auth_tag=

cipher.auth_tag = string â string Instance Public methods Sets the authentication tag to verify the contents of the ciphertext. The tag must be set after calling #decrypt, #key= and #iv=, but before assigning the associated authenticated data using #auth_data= and of course, before decrypting any of the ciphertext. After all decryption is performed, the tag is verified automatically in the call to #final.

merge!

merge!(oth) Instance Public methods Args oth URI or String Description Destructive form of merge Usage require 'uri' uri = URI.parse("http://my.example.com") uri.merge!("/main.rbx?page=1") p uri # => #<URI::HTTP:0x2021f3b0 URL:http://my.example.com/main.rbx?page=1>

get_frame

get_frame(&b) Instance Public methods

wrap

wrap(object) Class Public methods Wraps its argument in an array unless it is already an array (or array-like). Specifically: If the argument is nil an empty list is returned. Otherwise, if the argument responds to to_ary it is invoked, and its result returned. Otherwise, returns an array with the argument as its single element. Array.wrap(nil) # => [] Array.wrap([1, 2, 3]) # => [1, 2, 3] Array.wrap(0) # => [0] This method is similar in purpose to K

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.