method

deprecation_disallowed?

deprecation_disallowed?(message)
private

No documentation available.

# File activesupport/lib/active_support/deprecation/disallowed.rb, line 26
        def deprecation_disallowed?(message)
          disallowed = ActiveSupport::Deprecation.disallowed_warnings
          return false if explicitly_allowed?(message)
          return true if disallowed == :all
          disallowed.any? do |rule|
            case rule
            when String, Symbol
              message.include?(rule.to_s)
            when Regexp
              rule.match?(message)
            end
          end
        end