get_fileicon

get_fileicon(file, keys=nil) Class Public methods

exec_if

exec_if() Instance Public methods Execute the given block if notifications are enabled.

switch_name

switch_name() Instance Public methods Main name of the switch.

_tk_cmd_tbl

_tk_cmd_tbl() Instance Public methods

inspect_mode=

inspect_mode=(opt) Instance Public methods Specifies the inspect mode with opt: true display inspect false display to_s nil inspect mode in non-math mode, non-inspect mode in math mode See IRB::Inspector for more information. Can also be set using the --inspect and --noinspect command line options. See Command line options at IRB for more command line options.

at_beginning_of_quarter

at_beginning_of_quarter() Instance Public methods Alias for: beginning_of_quarter

encoding 2

encoding() Instance Public methods Alias for: encoding_name

__getobj__

__getobj__() Instance Public methods Returns the current object method calls are being delegated to.

pluck

pluck(*column_names) Instance Public methods Use pluck as a shortcut to select one or more attributes without loading a bunch of records just to grab the attributes you want. Person.pluck(:name) instead of Person.all.map(&:name) Pluck returns an Array of attribute values type-casted to match the plucked column names, if they can be deduced. Plucking an SQL fragment returns String values by default. Person.pluck(:id) # SELECT people.id FROM people # => [1, 2, 3] Person.plu

readpartial

ios.readpartial(maxlen) â stringios.readpartial(maxlen, outbuf) â outbuf Instance Public methods Reads at most maxlen bytes from the I/O stream. It blocks only if ios has no data immediately available. It doesn't block if some data available. If the optional outbuf argument is present, it must reference a String, which will receive the data. The outbuf will contain only the received data after the method call even if it is not empty at the beginning. It raises EO