class CopyTunerClient::I18nBackend
def store_item(locale, data, scope = [])
def store_item(locale, data, scope = []) if data.respond_to?(:to_hash) data.to_hash.each do |key, value| store_item(locale, value, scope + [key]) end elsif data.respond_to?(:to_str) key = ([locale] + scope).join('.') cache[key] = data.to_str end end