new

new(stream, value=nil, parent=nil, reference=false) Class Public methods Create a new entity. Simple entities can be constructed by passing a name, value to the constructor; this creates a generic, plain entity reference. For anything more complicated, you have to pass a Source to the constructor with the entity definition, or use the accessor methods. WARNING: There is no validation of entity state except when the entity is read from a stream. If you start poking around with the

create_temp_function

create_temp_function(name, ctype, argtype, call_type = nil) Instance Public methods

_create_console

_create_console() Class Public methods

blockquote

blockquote(cite = {}) Instance Public methods Generate a BlockQuote element as a string. cite can either be a string, give the URI for the source of the quoted text, or a hash, giving all attributes of the element, or it can be omitted, in which case the element has no attributes. The body is provided by the passed-in no-argument block blockquote("http://www.example.com/quotes/foo.html") { "Foo!" } #=> "<BLOCKQUOTE CITE=\"http://www.example.com/quotes/foo.html\">Foo!<

each_key

each_key() Instance Public methods Alias for: each_name

to_s

to_s() Instance Public methods

int_from_prime_division

int_from_prime_division(pd) Instance Public methods Re-composes a prime factorization and returns the product. Parameters pd Array of pairs of integers. The each internal pair consists of a prime number â a prime factor â and a natural number â an exponent. Example For [[p_1, e_1], [p_2, e_2], ...., [p_n, e_n]], it returns: p_1**e_1 * p_2**e_2 * .... * p_n**e_n. Prime.int_from_prime_division([[2,2], [3,1]]) #=> 12

current_group

current_group() Instance Public methods Returns the group most recently added to the stack.

register_type

register_type(type_id, type) Class Public methods Register an MySQL type_id with a typecasting object in type.

ri_paths

ri_paths(&block) Instance Public methods Enumerates the ri paths. See RDoc::RI::Paths#each