class Ldpath::ReversePropertySelector

Attributes

property[R]

Public Class Methods

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

Public Instance Methods

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