Module: I18nable::ClassMethods
- Defined in:
- lib/i18nable.rb
Instance Method Summary collapse
Instance Method Details
#localize(*args) ⇒ Object
26 27 28 |
# File 'lib/i18nable.rb', line 26 def localize(*args) I18n.localize(*args) end |
#translate(key, options = {}) ⇒ Object
22 23 24 |
# File 'lib/i18nable.rb', line 22 def translate(key, = {}) I18n.translate(i18nable_key_builder.build(key), ) end |