Class: I18nChecker::NotFound::Reporter::Default

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

Constant Summary collapse

CHECK_COMPLETED =
'Translation text checking is complete.'.freeze

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#report(result) ⇒ Object



10
11
12
13
# File 'lib/i18n_checker/not_found/reporter/default.rb', line 10

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