# File lib/xtemplate/xpath.rb, line 370 def reverse(val) if( val.is_a?(Array) ) val.reverse else nil end end