Class: Localer::Checker

Inherits:
Service show all
Defined in:
lib/localer/checker.rb

Overview

Check missing translations Returns true if no missing translations found, otherwise false

Instance Method Summary collapse

Methods inherited from Service

call, new

Instance Method Details

#callObject



7
8
9
10
11
12
# File 'lib/localer/checker.rb', line 7

def call
  Localer.each_data do |_locale, _key, value|
    return false if value.nil?
  end
  true
end