Method: REXML::Functions.send

Defined in:
lib/rexml/functions.rb

.send(name, *args) ⇒ Object



436
437
438
439
440
441
442
443
444
# File 'lib/rexml/functions.rb', line 436

def Functions::send(name, *args)
  if @@available_functions[name.to_sym]
    super
  else
    # TODO: Maybe, this is not XPath spec behavior.
    # This behavior must be reconsidered.
    XPath.match(@@context[:node], name.to_s)
  end
end