Class: Ldpath::PathSelector
- Inherits:
-
CompoundSelector
- Object
- Selector
- CompoundSelector
- Ldpath::PathSelector
- Defined in:
- lib/ldpath/selectors.rb
Instance Attribute Summary
Attributes inherited from CompoundSelector
Instance Method Summary collapse
Methods inherited from CompoundSelector
Methods inherited from Selector
Constructor Details
This class inherits a constructor from Ldpath::CompoundSelector
Instance Method Details
#evaluate(program, uris, context, &block) ⇒ Object
168 169 170 171 172 173 |
# File 'lib/ldpath/selectors.rb', line 168 def evaluate(program, uris, context, &block) return to_enum(:evaluate, program, uris, context) unless block_given? output = left.evaluate(program, uris, context) right.evaluate(program, output, context, &block) end |