method
norm
v1_8_7_72 -
Show latest stable
- Class:
REXML::XPathParser
norm(b)private
No documentation available.
# File lib/rexml/xpath_parser.rb, line 662
def norm b
case b
when true, false
return b
when 'true', 'false'
return Functions::boolean( b )
when /^\d+(\.\d+)?$/
return Functions::number( b )
else
return Functions::string( b )
end
end