Module: I18n::Backend::CacheFile

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/backend/cache_file.rb

Overview

Overwrites the Base load_file method to cache loaded file contents.

Instance Attribute Summary collapse

Instance Attribute Details

#path_rootsObject

Optionally provide path_roots array to normalize filename paths, to make the cached i18n data portable across environments.



11
12
13
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/i18n-1.12.0/lib/i18n/backend/cache_file.rb', line 11

def path_roots
  @path_roots
end