class Ldpath::AndTest
Attributes
left[R]
right[R]
Public Class Methods
new(left, right)
click to toggle source
# File lib/ldpath/tests.rb, line 77 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 82 def evaluate(program, uri, context) left.evaluate(program, uri, context).any? && right.evaluate(program, uri, context).any? end