<<

<<(part) Instance Public methods Appends part to the ListItem

union

Regexp.union(pat1, pat2, ...) â new_regexpRegexp.union(pats_ary) â new_regexp Class Public methods Return a Regexp object that is the union of the given patterns, i.e., will match any of its parts. The patterns can be Regexp objects, in which case their options will be preserved, or Strings. If no patterns are given, returns /(?!)/. The behavior is unspecified if any given pattern contains capture. Regexp.union #=> /(?!)/ Reg

fade?

fade?() Class Public methods

collect

ary.collect { |item| block } â new_aryary.collect â Enumerator Instance Public methods Invokes the given block once for each element of self. Creates a new array containing the values returned by the block. See also Enumerable#collect. If no block is given, an Enumerator is returned instead. a = [ "a", "b", "c", "d" ] a.map { |x| x + "!" } #=> ["a!", "b!", "c!", "d!"] a #=> ["a", "b", "c", "d"]

direct_descendants 2

direct_descendants() Instance Public methods

write

write( output, indent ) Instance Public methods

sanitize_string

sanitize_string(string) Instance Public methods Sanitize a single string.

new

SSLSocket.new(io) => aSSLSocketSSLSocket.new(io, ctx) => aSSLSocket Class Public methods Creates a new SSL socket from io which must be a real ruby object (not an IO-like object that responds to read/write. If ctx is provided the SSL Sockets initial params will be taken from the context. The OpenSSL::Buffering module provides additional IO methods. This method will freeze the SSLContext if one is provided; however, session management is still allowed in the frozen SSLContext

attribute_method?

attribute_method?(attr_name) Instance Protected methods

no_routes

no_routes() Instance Public methods