class Ldpath::IsTest
Attributes
left[R]
right[R]
Public Class Methods
new(left, right)
click to toggle source
# File lib/ldpath/tests.rb, line 91 def initialize(left, right) @left = left @right = right end
Public Instance Methods
evaluate(program, uri, context)
click to toggle source
# File lib/ldpath/tests.rb, line 96 def evaluate(program, uri, context) left.evaluate(program, uri, context).include?(right) end