class Ldpath::PropertySelector

Attributes

property[R]

Public Class Methods

new(property) click to toggle source
# File lib/ldpath/selectors.rb, line 80
def initialize(property)
  @property = property
end

Public Instance Methods

evaluate_one(uri, context) click to toggle source
# File lib/ldpath/selectors.rb, line 84
def evaluate_one(uri, context)
  context.query([uri, property, nil]).lazy.map(&:object)
end