rpartition

str.rpartition(sep) â [head, sep, tail]str.rpartition(regexp) â [head, match, tail] Instance Public methods Searches sep or pattern (regexp) in the string from the end of the string, and returns the part before it, the match, and the part after it. If it is not found, returns two empty strings and str. "hello".rpartition("l") #=> ["hel", "l", "o"] "hello".rpartition("x") #=> ["", "", "hello"] "hello".rpartition(/.l/) #=> ["he",

getnameinfo

Socket.getnameinfo(sockaddr [, flags]) => [hostname, servicename] Class Public methods Obtains name information for sockaddr. sockaddr should be one of follows. packed sockaddr string such as ::sockaddr_in(80, â127.0.0.1â) 3-elements array such as [âAF_INETâ, 80, â127.0.0.1â] 4-elements array such as [âAF_INETâ, 80, ignored, â127.0.0.1â] flags should be bitwise OR of Socket::NI_* constants. Note: The last form is compatible with IPSocket#addr and IPSocket#peeraddr. Sock

head?

head?() Instance Public methods Is this a HEAD request? Equivalent to request.request_method_symbol == :head.

call

call(email) Class Public methods Returns the mail object for the given email name. The registered preview interceptors will be informed so that they can transform the message as they would if the mail was actually being delivered.

unresolved_deps

unresolved_deps() Class Public methods DOC: This method needs documented or nodoc'd

update_cache?

update_cache?() Instance Public methods

marker_configinfo

marker_configinfo(id, slot=nil) Instance Public methods

state_linkage

state_linkage(name) Instance Public methods

have_required_values?

have_required_values?() Instance Public methods

activate_cell

activate_cell(index) Instance Public methods Also aliased as: activatecell