debug=

OpenSSL.debug = boolean â boolean Class Public methods Turns on or off CRYPTO_MEM_CHECK. Also shows some debugging message on stderr.

shelljoin

shelljoin(array) Class Public methods Builds a command line string from an argument list, array. All elements are joined into a single string with fields separated by a space, where each element is escaped for Bourne shell and stringified using to_s. ary = ["There's", "a", "time", "and", "place", "for", "everything"] argv = Shellwords.join(ary) argv #=> "There\\'s a time and place for everything" Array#shelljoin is a shortcut for this function. ary = ["Don't", "rock", "the", "b

defined_class

defined_class() Instance Public methods Return class or module of the method being called. class C; def foo; end; end trace = TracePoint.new(:call) do |tp| p tp.defined_class #=> C end.enable do C.new.foo end If method is defined by a module, then that module is returned. module M; def foo; end; end class C; include M; end; trace = TracePoint.new(:call) do |tp| p tp.defined_class #=> M end.enable do C.new.foo end Note: defined_class returns singleton class. 6th bloc

definition

definition() Instance Public methods IXMLDOMNode definition pointer to the definition of the node in the DTD or schema

new

new(*args) Class Public methods

|

true | obj â true Instance Public methods OrâReturns true. As anObject is an argument to a method call, it is always evaluated; there is no short-circuit evaluation in this case. true | puts("or") true || puts("logical or") produces: or

open

open(*args) Class Public methods Creates a new Tempfile. If no block is given, this is a synonym for ::new. If a block is given, then a Tempfile object will be constructed, and the block is run with said object as argument. The Tempfile object will be automatically closed after the block terminates. The call returns the value of the block. In any case, all arguments (+*args+) will be passed to ::new. Tempfile.open('foo', '/home/temp') do |f| ... do something with f ... end # Eq

get_index_of_value

get_index_of_value() Instance Public methods Also aliased as: get_value, get_value_index

latin_actual_displayof

latin_actual_displayof(win, option=nil) Instance Public methods Also aliased as: ascii_actual_displayof

json_create

json_create(object) Class Public methods Deserializes JSON string by constructing new Struct object with values v serialized by to_json.