method
text
v2_6_3 -
Show latest stable
- Class:
REXML::Functions
text( )public
No documentation available.
# File lib/rexml/functions.rb, line 40
def Functions::text( )
if @@context[:node].node_type == :element
return @@context[:node].find_all{|n| n.node_type == :text}.collect{|n| n.value}
elsif @@context[:node].node_type == :text
return @@context[:node].value
else
return false
end
end