log2!

log2!(z) Class Public methods Alias for: log2

load

load(value) Class Public methods

each_ancestor

each_ancestor() Instance Public methods Iterates the ancestors of this class or module for which an RDoc::ClassModule exists.

[]

[]( key ) Instance Public methods Return value associated with key from database. Returns nil if there is no such key.

package_name 2

package_name() Class Public methods

render_body

render_body(context, options) Instance Public methods Render but returns a valid Rack body. If fibers are defined, we return a streaming body that renders the template piece by piece. Note that partials are not supported to be rendered with streaming, so in such cases, we just wrap them in an array.

hermitian?

hermitian?() Instance Public methods Returns true is this is an hermitian matrix. Raises an error if matrix is not square.

index_name_exists?

index_name_exists?(table_name, index_name, default) Instance Public methods Verifies the existence of an index with a given name. The default argument is returned if the underlying implementation does not define the indexes method, as there's no way to determine the correct answer in that case.

except

except(*skips) Instance Public methods Removes from the query the condition(s) specified in skips. Post.order('id asc').except(:order) # discards the order condition Post.where('id > 10').order('id asc').except(:where) # discards the where condition but keeps the order

friday?

time.friday? â true or false Instance Public methods Returns true if time represents Friday. t = Time.local(1987, 12, 18) #=> 1987-12-18 00:00:00 -0600 t.friday? #=> true