lib/openwfe/expool/expstorage.rb
#
# Returns true if the given expression is in the list of included
# classes or false if it's in the list of excluded classes...
#
# include_classes has precedence of exclude_classes.
#
Returns true if the given expression is in the list of included
classes or false if it's in the list of excluded classes


Returns true if the given expression is in the list of included classes or false if it ' s in the list of excluded classes
def class_accepted? (fexp, include_classes, exclude_classes)
      return false if include_classes and (not include_classes.find do |klazz|
        fexp.is_a?(klazz)
      end)
      return false if exclude_classes and exclude_classes.find do |klazz|
        fexp.is_a?(klazz)
      end
      true
    end
def class_accepted? ( fexp , include_classes , exclude_classes ) return false if include_classes and ( not include_classes . find do | klazz | fexp . is_a? ( klazz ) end ) return false if exclude_classes and exclude_classes . find do | klazz | fexp . is_a? ( klazz ) end true end
Returns true if the given expression is in the list of included
classes or false if it's in the list of excluded classes...
Returns true if the given expression is in the list of included classes or false if it ' s in the list of excluded classes ...
fexp
<not_specific>
include_classes
<not_specific>
exclude_classes
<not_specific>