module Ptimelog::DeprecationWarning::ClassMethods

Keep track of wether the deprecation have been shown already or not

Public Instance Methods

deprecation_warning_rendered!() click to toggle source
# File lib/ptimelog/deprecation_warning.rb, line 20
def deprecation_warning_rendered!
  @deprecation_warning_rendered = true
end
deprecation_warning_rendered?() click to toggle source
# File lib/ptimelog/deprecation_warning.rb, line 12
def deprecation_warning_rendered?
  @deprecation_warning_rendered == true
end
reset_deprecation_warning!() click to toggle source
# File lib/ptimelog/deprecation_warning.rb, line 16
def reset_deprecation_warning!
  @deprecation_warning_rendered = false
end