server/lib/deltacloud/drivers/exceptions.rb
# Condition can be class or regexp
#
Condition can be class or regexp
Condition can be class or regexp
def any?(e)
        @conditions.each do |c|
          return true if c.class == Class && e.class == c
          return true if c.class == Regexp && (e.class.name =~ c or e.message =~ c)
        end
        return false
      end
def any? ( e ) @conditions . each do | c | return true if c . class == Class && e . class == c return true if c . class == Regexp && ( e . class . name =~ c or e . message =~ c ) end return false end
Condition can be class or regexp
Condition can be class or regexp
e
<not_specific>