Class: Ldpath::WildcardSelector

Inherits:
Selector
  • Object
show all
Defined in:
lib/ldpath/selectors.rb

Instance Method Summary collapse

Methods inherited from Selector

#evaluate, #initialize, #loading

Constructor Details

This class inherits a constructor from Ldpath::Selector

Instance Method Details

#evaluate_one(uri, context) ⇒ Object



134
135
136
# File 'lib/ldpath/selectors.rb', line 134

def evaluate_one(uri, context)
  context.query([uri, nil, nil]).lazy.map(&:object)
end