Sha256: 1cc6b02339aaade64e5eeb788a1ccb2b65f86b161e2901d68f57997794271f73

Contents?: true

Size: 207 Bytes

Versions: 4

Compression:

Stored size: 207 Bytes

Contents

module I18nScrewdriver
  module Translation
    def _(text, options = {})
      I18n.translate(I18nScrewdriver.for_key(text), options)
    end
  end
end

Object.send(:include, I18nScrewdriver::Translation)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
i18n_screwdriver-2.0.1 lib/i18n_screwdriver/translation.rb
i18n_screwdriver-2.0.0 lib/i18n_screwdriver/translation.rb
i18n_screwdriver-1.2.0 lib/i18n_screwdriver/translation.rb
i18n_screwdriver-1.1.0 lib/i18n_screwdriver/translation.rb