method
compare
compare(a, op, b)
private
Hide source
# File lib/rexml/xpath_parser.rb, line 882 def compare a, op, b case op when :eq a == b when :neq a != b when :lt a < b when :lteq a <= b when :gt a > b when :gteq a >= b when :and a and b when :or a or b else false end end