Class: I18nChecker::NotFound::Detector
- Inherits:
-
Object
- Object
- I18nChecker::NotFound::Detector
- Defined in:
- lib/i18n_checker/not_found/detector.rb
Instance Method Summary collapse
- #detect(locale_texts) ⇒ Object
-
#initialize(locale_files) ⇒ Detector
constructor
A new instance of Detector.
Constructor Details
#initialize(locale_files) ⇒ Detector
Returns a new instance of Detector.
4 5 6 |
# File 'lib/i18n_checker/not_found/detector.rb', line 4 def initialize(locale_files) @locale_texts = locale_files.to_h end |