new

Net::IMAP.new(host, options = {}) Class Public methods Creates a new Net::IMAP object and connects it to the specified host. options is an option hash, each key of which is a symbol. The available options are: port port number (default value is 143 for imap, or 993 for imaps) ssl if options is true, then an attempt will be made to use SSL (now TLS) to connect to the server. For this to work OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to be installed. if option

do_one_event

do_one_event(flag = TclTkLib::EventFlag::ALL) Class Public methods

telephone_field

telephone_field(object_name, method, options = {}) Instance Public methods Returns a #text_field of type âtelâ. telephone_field("user", "phone") # => <input id="user_phone" name="user[phone]" type="tel" /> phone_field

==

==(other_aggregation) Instance Public methods Returns true if self and other_aggregation have the same name attribute, active_record attribute, and other_aggregation has an options hash assigned to it.

y2axis_configinfo

y2axis_configinfo(slot=nil) Instance Public methods

delete

delete() Instance Public methods Marks a message for deletion on the server. Deletion does not actually occur until the end of the session; deletion may be cancelled for all marked messages by calling Net::POP3#reset. This method raises a POPError if an error occurs. Example POP3.start('pop.example.com', 110, 'YourAccount, 'YourPassword') do |pop| n = 1 pop.mails.each do |popmail| File.open("inbox/#{n}", 'w') do |f| f.write popmail.pop end popmail.

caller_locations

caller_locations(start=1, length=nil) â array or nilcaller_locations(range) â array or nil Instance Public methods Returns the current execution stackâan array containing backtrace location objects. See Thread::Backtrace::Location for more information. The optional start parameter determines the number of initial stack entries to omit from the top of the stack. A second optional length parameter can be used to limit how many entries are returned from the stack.

references

references(*args) Instance Public methods Adds a reference. Optionally adds a type column, if :polymorphic option is provided. references and belongs_to are acceptable. t.references(:user) t.belongs_to(:supplier, polymorphic: true) belongs_to

set_encoding

io.set_encoding(ext_enc) â ioio.set_encoding("ext_enc:int_enc") â ioio.set_encoding(ext_enc, int_enc) â ioio.set_encoding("ext_enc:int_enc", opt) â ioio.set_encoding(ext_enc, int_enc, opt) â io Instance Public methods If single argument is specified, read string from io is tagged with the encoding specified. If encoding is a colon separated two encoding names âA:Bâ, the read string is converted from encoding A (external encoding) to encoding B (internal

expand

expand(tree, but) Class Public methods