Module: REXML::Functions

Module REXML::Functions |
In: | rexml/functions.rb

If you add a method, keep in mind two things: (1) the first argument will always be a list of nodes from which to filter. In the case of context methods (such as position), the function should return an array with a value for each child in the array. (2) all method calls from XML will have "-" replaced with "_". Therefore, in XML, "local-name()" is identical (and actually becomes) "local_name()"

Methods

boolean ceiling compare_language concat contains count false floor get_namespace id lang last local_name method_missing name namespace_context namespace_context= namespace_uri node node= normalize_space not number pair pair= position round starts_with string string_length substring substring_after substring_before sum text translate true variable variable=

Public Class methods

boolean%params%

ceiling%params%

compare_language%params%

concat%params%

contains%params%

count%params%

false%params%

floor%params%

get_namespace%params%

id%params%

lang%params%

last%params%

local_name%params%

method_missing%params%

name%params%

namespace_context%params%

namespace_context=%params%

namespace_uri%params%

node%params%

node=%params%

normalize_space%params%

not%params%

number%params%

pair%params%

pair=%params%

position%params%

round%params%

starts_with%params%

string%params%

string_length%params%

substring%params%

substring_after%params%

substring_before%params%

sum%params%

text%params%

translate%params%

true%params%

variable%params%

variable=%params%