~ubuntu-branches/ubuntu/vivid/ruby-i18n/vivid

« back to all changes in this revision

Viewing changes to lib/i18n/backend/cache.rb

  • Committer: Package Import Robot
  • Author(s): Praveen Arimbrathodiyil
  • Date: 2013-06-03 19:20:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20130603192031-qk11as87x3cotd1n
Tags: upstream-0.6.1
ImportĀ upstreamĀ versionĀ 0.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# To enable caching you can simply include the Cache module to the Simple
5
5
# backend - or whatever other backend you are using:
6
6
#
7
 
#   I18n::Backend::Simple.include(I18n::Backend::Cache)
 
7
#   I18n::Backend::Simple.send(:include, I18n::Backend::Cache)
8
8
#
9
9
# You will also need to set a cache store implementation that you want to use:
10
10
#