module Flatten

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

This module contains several helpers to assist flattening translations. You may want to flatten translations for:

1) speed up lookups, as in the Memoize backend;
2) In case you want to store translations in a data store, as in ActiveRecord backend;

You can check both backends above for some examples. This module also keeps all links in a hash so they can be properly resolved when flattened.

Constants

Methods (defined here)

Type at least 2 characters to search.

↑↓ navigate · open · esc close