Module: I18n::Backend::KeyLogger

Defined in:
lib/i18n/backend/key_logger.rb

Instance Method Summary collapse

Instance Method Details

#lookup(locale, key, scope = [], options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/i18n/backend/key_logger.rb', line 6

def lookup(locale, key, scope = [], options = {})
  key = (Array(scope || []) + [key]).compact.join('.')
  I18n::Coverage::KeyLogger.store_key(key)
  super
end