insert

insert(index, *args) Instance Public methods

dataType

dataType() Instance Public methods VARIANT dataType the data type of the node

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

draw13

draw13() Instance Public methods Fax

field_set_tag

field_set_tag(legend = nil, options = nil, &block) Instance Public methods Creates a field set for grouping HTML form elements. legend will become the fieldset's title (optional as per W3C). options accept the same values as tag. Examples <%= field_set_tag do %> <p><%= text_field_tag 'name' %></p> <% end %> # => <fieldset><p><input id="name" name="name" type="text" /></p></fieldset> <%= field_set_tag 'Your det

validate

validate(mode = nil) Instance Public methods

included

included(base) Class Public methods

test_alt_becomes_works_with_sti

test_alt_becomes_works_with_sti() Instance Public methods

to_feed

to_feed(feed) Instance Public methods

whitespace

whitespace() Instance Public methods Evaluates to true if whitespace is respected for this element. This is the case if: Neither :respect_whitespace nor :compress_whitespace has any value The context has :respect_whitespace set to :all or an array containing the name of this element, and :compress_whitespace isn't set to :all or an array containing the name of this element. The evaluation is tested against expanded_name, and so is namespace sensitive.