Sha256: 9ad43f2606a04d43d4c2c8ffb604c4720425e5545a0289560526ba5ded8aee4a

Contents?: true

Size: 142 Bytes

Versions: 8

Compression:

Stored size: 142 Bytes

Contents

def store_translations(locale, translations, &block)
  I18n.backend.store_translations locale, translations
  yield
ensure
  I18n.reload!
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datagrid-1.6.1 spec/support/i18n_helpers.rb
datagrid-1.6.0 spec/support/i18n_helpers.rb
datagrid-1.5.9 spec/support/i18n_helpers.rb
datagrid-1.5.8 spec/support/i18n_helpers.rb
datagrid-1.5.7 spec/support/i18n_helpers.rb
datagrid-1.5.6 spec/support/i18n_helpers.rb
datagrid-1.5.5 spec/support/i18n_helpers.rb
datagrid-1.5.4 spec/support/i18n_helpers.rb