Class: I18nChecker::Unused::Reporter::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/i18n_checker/unused/reporter/default.rb

Constant Summary collapse

CHECK_COMPLETED =
'Checking of unused translated text is finished.'.freeze

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from I18nChecker::Unused::Reporter::Base

Instance Method Details

#report(unused_result) ⇒ Object

Parameters:



12
13
14
15
# File 'lib/i18n_checker/unused/reporter/default.rb', line 12

def report(unused_result)
  return passed if unused_result.empty?
  failed(unused_result)
end