Module: I18n::Backend::CacheFile
- Defined in:
- lib/i18n/backend/cache_file.rb
Overview
Overwrites the Base load_file method to cache loaded file contents.
Instance Attribute Summary collapse
-
#path_roots ⇒ Object
Optionally provide path_roots array to normalize filename paths, to make the cached i18n data portable across environments.
Instance Attribute Details
#path_roots ⇒ Object
Optionally provide path_roots array to normalize filename paths, to make the cached i18n data portable across environments.
11 12 13 |
# File 'lib/i18n/backend/cache_file.rb', line 11 def path_roots @path_roots end |