Class: Localer::Data::MissingTranslations
- Defined in:
- lib/localer/data/missing_translations.rb
Overview
A service that returns array of missing translations
Instance Method Summary collapse
Methods inherited from Service
Instance Method Details
#call ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/localer/data/missing_translations.rb', line 9 def call missing = [] data.each do |locale, key, value| missing.push("#{locale}#{key}") if value.nil? end missing end |