# File lib/xpath/expression.rb, line 172 def to_xpath(predicate=nil) "contains(#{@left.to_xpath(predicate)}, #{@right.to_xpath(predicate)})" end