to_int

to_i Instance Public methods Returns the integer memory location of this pointer.

copy

copy(file_name, dest_file) Instance Public methods Copy a single file from file_name to dest_file.

body_permitted?

body_permitted?() Class Public methods true if the response has a body.

format

format(output='', maxwidth=79, newline="\n", genspace=lambda {|n| ' ' * n}) Class Public methods This is a convenience method which is same as follows: begin q = PrettyPrint.new(output, maxwidth, newline, &genspace) ... q.flush output end

presence

presence() Instance Public methods Returns the receiver if it's present otherwise returns nil. object.presence is equivalent to object.present? ? object : nil For example, something like state = params[:state] if params[:state].present? country = params[:country] if params[:country].present? region = state || country || 'US' becomes region = params[:state].presence || params[:country].presence || 'US' @return [Object]

raw_write_attribute

raw_write_attribute(attr_name, value) Instance Public methods

handle_constants

handle_constants(type, var_name, const_name, definition) Instance Public methods Adds constants. By providing some_value: at the start of the comment you can override the C value of the comment to give a friendly definition. 300: The perfect score in bowling rb_define_const(cFoo, "PERFECT", INT2FIX(300); Will override INT2FIX(300) with the value 300 in the output RDoc. Values may include quotes and escaped colons (:).

nextSibling

nextSibling() Instance Public methods IXMLDOMNode nextSibling right sibling of the node

delete_if

hsh.delete_if {| key, value | block } â hshhsh.delete_if â an_enumerator Instance Public methods Deletes every key-value pair from hsh for which block evaluates to true. If no block is given, an enumerator is returned instead. h = { "a" => 100, "b" => 200, "c" => 300 } h.delete_if {|key, value| key >= "b" } #=> {"a"=>100}

getAttribute

getAttribute(arg0) Instance Public methods VARIANT getAttribute look up the string value of an attribute by name BSTR arg0 --- name [IN]