rectangular

Complex.rectangular(real[, imag]) â complex Class Public methods Returns a complex object which denotes the given rectangular form. Complex.rectangular(1, 2) #=> (1+2i)

<<

<<(child) Instance Public methods

create

create(attributes = nil, &block) Instance Public methods Creates an object (or multiple objects) and saves it to the database, if validations pass. The resulting object is returned whether the object was saved successfully to the database or not. The attributes parameter can be either a Hash or an Array of Hashes. These Hashes describe the attributes on the objects that are to be created. Examples # Create a single new object User.create(first_name: 'Jamie') # Create an Array

digest!

digest_obj.digest! â string Instance Public methods Returns the resulting hash value and resets the digest to the initial state.

begin

mtch.begin(n) â integer Instance Public methods Returns the offset of the start of the nth element of the match array in the string. n can be a string or symbol to reference a named capture. m = /(.)(.)(\d+)(\d)/.match("THX1138.") m.begin(0) #=> 1 m.begin(2) #=> 2 m = /(?<foo>.)(.)(?<bar>.)/.match("hoge") p m.begin(:foo) #=> 0 p m.begin(:bar) #=> 2

blt_table_current_configinfo

blt_table_current_configinfo(*args) Instance Public methods

new

new() Class Public methods

element_cget_tkstring

element_cget_tkstring(opt) Instance Public methods

new

new(*args) Class Public methods

delete

delete(arel, name = nil, binds = []) Instance Public methods Executes the delete statement and returns the number of rows affected.