Class: XPath::Expression::Includes
- Inherits:
-
Binary
- Object
- Binary
- XPath::Expression::Includes
- Defined in:
- lib/bermuda/xpath.rb
Instance Method Summary collapse
Instance Method Details
#to_xpath(predicate = nil) ⇒ Object
7 8 9 |
# File 'lib/bermuda/xpath.rb', line 7 def to_xpath(predicate=nil) "contains(concat(' ', normalize-space(#{@left.to_xpath(predicate)}), ' '), concat(' ', #{@right.to_xpath(predicate)}, ' '))" end |