class TidyI18n::Translations

Public Class Methods

for_locale(locale) click to toggle source
# File lib/tidy_i18n/translations.rb, line 7
def self.for_locale(locale)
  Marshal.load(Marshal.dump(::I18n.backend.send(:translations)[locale]))
end