identify_item

identify_item(x, y) Instance Public methods

insert

insert(idx, subwin, keys=nil) Instance Public methods

month

month() Instance Public methods Alias for: months

render_to_string_with_partial

render_to_string_with_partial() Instance Public methods

capability

capability() Instance Public methods Sends a CAPABILITY command, and returns an array of capabilities that the server supports. Each capability is a string. See [IMAP] for a list of possible capabilities. Note that the Net::IMAP class does not modify its behaviour according to the capabilities of the server; it is up to the user of the class to ensure that a certain capability is supported by a server before using it.

backtrace

exception.backtrace â array Instance Public methods Returns any backtrace associated with the exception. The backtrace is an array of strings, each containing either âfilename:lineNo: in `method''' or âfilename:lineNo.'' def a raise "boom" end def b a() end begin b() rescue => detail print detail.backtrace.join("\n") end produces: prog.rb:2:in `a' prog.rb:6:in `b' prog.rb:10

file?

stat.file? â true or false Instance Public methods Returns true if stat is a regular file (not a device file, pipe, socket, etc.). File.stat("testfile").file? #=> true

query

query() Class Public methods

store=

store=(store) Instance Public methods Sets the store for this class or module and its contained code objects.

mattr_writer

mattr_writer(*syms) Instance Public methods Defines a class attribute and creates a class and instance writer methods to allow assignment to the attribute. module HairColors mattr_writer :hair_colors end class Person include HairColors end HairColors.hair_colors = [:brown, :black] Person.class_variable_get("@@hair_colors") # => [:brown, :black] Person.new.hair_colors = [:blonde, :red] HairColors.class_variable_get("@@hair_colors") # => [:blonde, :red] If you want to op