class Nite::Owl::IfNot

Public Class Methods

new(block) click to toggle source
Calls superclass method Nite::Owl::PredicateAction::new
# File lib/nite/owl/niteowl.rb, line 388
def initialize(block)
  super()
  @predicate = block
end

Public Instance Methods

predicate?(name,flags) click to toggle source
# File lib/nite/owl/niteowl.rb, line 392
def predicate?(name,flags)
  not @predicate.call(name,flags)
end