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