class Ldpath::NotTest

Attributes

delegate[R]

Public Class Methods

new(delegate) click to toggle source
# File lib/ldpath/tests.rb, line 52
def initialize(delegate)
  @delegate = delegate
end

Public Instance Methods

evaluate(program, uri, context) click to toggle source
# File lib/ldpath/tests.rb, line 56
def evaluate(program, uri, context)
  !enum_wrap(delegate.evaluate(program, uri, context)).any? { |x| x }
end