A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api.rubyonrails.org/classes/ActiveSupport/Deprecation/Disallowed.html below:

Website Navigation


ActiveSupport::Deprecation::Disallowed

Methods

D
Attributes [W] disallowed_warnings

Sets the criteria used to identify deprecation messages which should be disallowed. Can be an array containing strings, symbols, or regular expressions. (Symbols are treated as strings.) These are compared against the text of the generated deprecation warning.

Additionally the scalar symbol :all may be used to treat all deprecations as disallowed.

Deprecations matching a substring or regular expression will be handled using the configured Behavior#disallowed_behavior rather than Behavior#behavior.

Instance Public methods disallowed_warnings() Link

Returns the configured criteria used to identify deprecation messages which should be treated as disallowed.

Source: show | on GitHub

def disallowed_warnings
  @disallowed_warnings ||= []
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4