# File lib/i18n/backend/memoize.rb, line 13 def available_locales @memoized_locales ||= super end
# File lib/i18n/backend/memoize.rb, line 29 def lookup(locale, key, scope = nil, options = {}) flat_key = I18n::Backend::Flatten.normalize_flat_keys(locale, key, scope, options[:separator]).to_sym flat_hash = memoized_lookup[locale.to_sym] flat_hash.key?(flat_key) ? flat_hash[flat_key] : (flat_hash[flat_key] = super) end
Generated with the Darkfish Rdoc Generator 2.