new

new( source ) Class Public methods

new

new(opts = {}) Class Public methods Instantiates a new State object, configured by opts. opts can have the following keys: indent: a string used to indent levels (default: ''), space: a string that is put after, a : or , delimiter (default: ''), space_before: a string that is put before a : pair delimiter (default: ''), object_nl: a string that is put at the end of a JSON object (default: ''), array_nl: a string that is put at the end of a JSON array (default: ''), allo

pull

pull() Instance Public methods Returns the next event. This is a PullEvent object.

xml

xml() Instance Public methods BSTR xml return the XML source for the node and each of its descendants

text=

text=(arg0) Instance Public methods VOID text text content of the node and subtree

E

E(prec) Instance Public methods Computes e (the base of natural logarithms) to the specified number of digits of precision.

report_constants

report_constants(cm) Instance Public methods Returns a report on undocumented constants in ClassModule cm

value

value() Instance Public methods Return the object which makes up the tuple itself: the Array or Hash.

opened?

opened? Class Public methods Returns true if the syslog is open.

submit_tag

submit_tag(value = "Save changes", options = {}) Instance Public methods Creates a submit button with the text value as the caption. Options :data - This option can be used to add custom data attributes. :disabled - If true, the user will not be able to use this input. Any other key creates standard HTML options for the tag. Data attributes confirm: 'question?' - If present the unobtrusive JavaScript drivers will provide a prompt with the question specified. If the user ac