Module: Logidze::Deprecations

Defined in:
lib/logidze/model.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.show_ts_deprecation_for(meth) ⇒ Object



6
7
8
9
10
11
# File 'lib/logidze/model.rb', line 6

def self.show_ts_deprecation_for(meth)
  warn(
    "[Deprecation] Usage of #{meth}(time) will be removed in the future releases, "\
    "use #{meth}(time: ts) instead"
  )
end