__getobj__

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

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

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

readpartial(maxlen, buf=nil) Instance Public methods Reads at most maxlen bytes from the stream. If buf is provided it must reference a string which will receive the data. See IO#readpartial for full details.

_process_format

_process_format(format, options = {}) Instance Public methods Process the rendered format. :api: private

ipv6_sitelocal?

ipv6_sitelocal?() Instance Public methods Returns true for IPv6 site local address (ffc0::/10). It returns false otherwise.

prefetch

prefetch(gems) Instance Public methods No prefetching needed since we load the whole index in initially.

[]

[](slot) Instance Public methods

inspect

inspect() Instance Public methods

>=

a >= b Instance Public methods Returns true if a is greater than or equal to b. Values may be coerced to perform the comparison (see ==, #coerce)