Class: Ldpath::PathSelector

Inherits:
CompoundSelector show all
Defined in:
lib/ldpath/selectors.rb

Instance Attribute Summary

Attributes inherited from CompoundSelector

#left, #right

Instance Method Summary collapse

Methods inherited from CompoundSelector

#initialize

Methods inherited from Selector

#loading

Constructor Details

This class inherits a constructor from Ldpath::CompoundSelector

Instance Method Details

#evaluate(program, uris, context) ⇒ Object



121
122
123
124
# File 'lib/ldpath/selectors.rb', line 121

def evaluate(program, uris, context)
  output = left.evaluate(program, uris, context)
  right.evaluate(program, output, context)
end