Class: Localer::Data::Checker

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

Overview

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

Instance Method Summary collapse

Methods inherited from Service

call

Instance Method Details

#callObject



10
11
12
13
14
15
# File 'lib/localer/data/checker.rb', line 10

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