power!(other) Instance Public methods Alias for: **
insert(pos=nil, keys={}) Instance Public methods
cursor=(index) Instance Public methods Also aliased as: icursor=
to_i Instance Public methods Returns the integer memory location of this pointer.
copy(file_name, dest_file) Instance Public methods Copy a single file from file_name to dest_file.
body_permitted?() Class Public methods true if the response has a body.
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() 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(attr_name, value) Instance Public methods
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 (:).
Page 2214 of 2275