Module: Rapporteur::CheckerDeprecations
- Included in:
- Checker
- Defined in:
- lib/rapporteur/checker_deprecations.rb
Instance Method Summary collapse
Instance Method Details
#add_check(*args, &block) ⇒ Object
5 6 7 8 |
# File 'lib/rapporteur/checker_deprecations.rb', line 5 def add_check(*args, &block) ActiveSupport::Deprecation.warn("use Rapporteur.add_check", caller) Rapporteur.add_check(*args, &block) end |
#clear ⇒ Object
10 11 12 13 |
# File 'lib/rapporteur/checker_deprecations.rb', line 10 def clear ActiveSupport::Deprecation.warn("use Rapporteur.clear_checks", caller) Rapporteur.clear_checks end |
#run ⇒ Object
15 16 17 18 |
# File 'lib/rapporteur/checker_deprecations.rb', line 15 def run ActiveSupport::Deprecation.warn("use Rapporteur.run", caller) Rapporteur.run end |