scalar

scalar(value, anchor, tag, plain, quoted, style) Instance Public methods Called when a scalar value is found. The scalar may have an anchor, a tag, be implicitly plain or implicitly quoted value is the string value of the scalar anchor is an associated anchor or nil tag is an associated tag or nil plain is a boolean value quoted is a boolean value style is an integer idicating the string style See the constants in Psych::Nodes::Scalar for the possible values of style Example Here

caller_locations

caller_locations(start=1, length=nil) â array or nilcaller_locations(range) â array or nil Instance Public methods Returns the current execution stackâan array containing backtrace location objects. See Thread::Backtrace::Location for more information. The optional start parameter determines the number of initial stack entries to omit from the top of the stack. A second optional length parameter can be used to limit how many entries are returned from the stack.

client_ca

ssl.client_ca => [x509name, ...] Instance Public methods Returns the list of client CAs. Please note that in contrast to OpenSSL::SSL::SSLContext#client_ca no array of X509::Certificate is returned but X509::Name instances of the CA's subject distinguished name. In server mode, returns the list set by OpenSSL::SSL::SSLContext#client_ca. In client mode, returns the list of client CAs sent from the server.

replace_chars

replace_chars(tag, first, last, str_or_coords) Instance Public methods Alias for: rchars

new

new(klass, owners, reflection, preload_scope) Class Public methods

configinfo

configinfo(key=nil) Instance Public methods

_IP_TABLE

_IP_TABLE() Class Public methods

each_index

ary.each_index { |index| block } â aryary.each_index â Enumerator Instance Public methods Same as #each, but passes the index of the element instead of the element itself. An Enumerator is returned if no block is given. a = [ "a", "b", "c" ] a.each_index {|x| print x, " -- " } produces: 0 -- 1 -- 2 --

active?

active?() Instance Public methods Alias for: started?

drop_while

ary.drop_while { |arr| block } â new_aryary.drop_while â Enumerator Instance Public methods Drops elements up to, but not including, the first element for which the block returns nil or false and returns an array containing the remaining elements. If no block is given, an Enumerator is returned instead. See also #take_while a = [1, 2, 3, 4, 5, 0] a.drop_while {|i| i < 3 } #=> [3, 4, 5, 0]