Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rails_i18n_extended/object_extensions.rb
Instance Method Summary collapse
Instance Method Details
#t(params = {}) ⇒ Object
4 5 6 |
# File 'lib/rails_i18n_extended/object_extensions.rb', line 4 def t(params={}) I18n.t(self, **params) end |