delete

delete(idx) Instance Public methods

new

Class.new(super_class=Object) â a_classClass.new(super_class=Object) { |mod| ... } â a_class Class Public methods Creates a new anonymous (unnamed) class with the given superclass (or Object if no parameter is given). You can give a class a name by assigning the class object to a constant. If a block is given, it is passed the class object, and the block is evaluated in the context of this class using class_eval. fred = Class.new do def meth1 "hello" end de

tag_bind

tag_bind(tag, seq, *args) Instance Public methods def #tag_bind(tag, seq, cmd=Proc.new, *args) _bind([@path, 'tag', 'bind', tag], seq, cmd, *args) self end

private_class_method

mod.private_class_method(symbol, ...) â mod Instance Public methods Makes existing class methods private. Often used to hide the default constructor new. class SimpleSingleton # Not thread safe private_class_method :new def SimpleSingleton.create(*args, &block) @me = new(*args, &block) if ! @me @me end end

push_state

push_state() Class Public methods Alias for: pushstate

exp

BigMath.exp(x, prec) Class Public methods Computes the value of e (the base of natural logarithms) raised to the power of x, to the specified number of digits of precision. If x is infinity, returns Infinity. If x is NaN, returns NaN.

nodeTypeString

nodeTypeString() Instance Public methods BSTR nodeTypeString the type of node in string form

readme

readme() Instance Public methods

arity

meth.arity â fixnum Instance Public methods Returns an indication of the number of arguments accepted by a method. Returns a nonnegative integer for methods that take a fixed number of arguments. For Ruby methods that take a variable number of arguments, returns -n-1, where n is the number of required arguments. For methods written in C, returns -1 if the call takes a variable number of arguments. class C def one; end def two(a); end def three(*a); end def four(a, b

item_remove

item_remove(item) Instance Public methods