Module: I18n
- Defined in:
- lib/rails_i18n_gettext/i18n_patch.rb
Class Method Summary collapse
Class Method Details
._(string, options = {}) ⇒ Object
2 3 4 5 |
# File 'lib/rails_i18n_gettext/i18n_patch.rb', line 2 def _(string, = {}) [:default] = string I18n.t(string, ) end |