Class: XPath::Expression::Binary
- Inherits:
-
XPath::Expression
- Object
- XPath::Expression
- XPath::Expression::Binary
- Defined in:
- lib/xpath/expression.rb
Constant Summary
Constants included from XPath
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Binary
constructor
A new instance of Binary.
Methods inherited from XPath::Expression
#and, #apply, #current, #equals, #inverse, #is, #next_sibling, #normalize, #one_of, #or, #string_literal, #to_s, #to_xpath, #to_xpaths, #union, #where, #wrap_xpath
Methods included from XPath
#anywhere, #attr, #child, #contains, #css, #current, #descendant, generate, #name, #string, #tag, #text, #var, #varstring
Constructor Details
#initialize(left, right) ⇒ Binary
Returns a new instance of Binary.
18 19 20 21 |
# File 'lib/xpath/expression.rb', line 18 def initialize(left, right) @left = wrap_xpath(left) @right = wrap_xpath(right) end |