Module: Apartment::Deprecation

Defined in:
lib/apartment/deprecation.rb

Class Method Summary collapse

Class Method Details

.warn(message) ⇒ Object


4
5
6
7
8
9
10
# File 'lib/apartment/deprecation.rb', line 4

def self.warn(message)
  begin
    ActiveSupport::Deprecation.warn message
  rescue
    warn message
  end
end