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

#clearObject



10
11
12
13
# File 'lib/rapporteur/checker_deprecations.rb', line 10

def clear
  ActiveSupport::Deprecation.warn("use Rapporteur.clear", caller)
  Rapporteur.clear
end

#runObject



15
16
17
18
# File 'lib/rapporteur/checker_deprecations.rb', line 15

def run
  ActiveSupport::Deprecation.warn("use Rapporteur.run", caller)
  Rapporteur.run
end