Module: DeprecationHelper

Defined in:
lib/raven/helpers/deprecation_helper.rb

Class Method Summary collapse

Class Method Details

.deprecate_dasherized_filename(correct_filename) ⇒ Object


2
3
4
# File 'lib/raven/helpers/deprecation_helper.rb', line 2

def self.deprecate_dasherized_filename(correct_filename)
  warn "[Deprecation Warning] Dasherized filename \"#{correct_filename.gsub('_', '-')}\" is deprecated and will be removed in 4.0; use \"#{correct_filename}\" instead" # rubocop:disable Style/LineLength
end