Module: I18n::Base
- Defined in:
- lib/brick.rb
Instance Method Summary collapse
- #_brick_translate ⇒ Object
- #translate(key = nil, *args, throw: false, raise: false, locale: nil, **options) ⇒ Object
Instance Method Details
#_brick_translate ⇒ Object
1825 |
# File 'lib/brick.rb', line 1825 alias _brick_translate translate |
#translate(key = nil, *args, throw: false, raise: false, locale: nil, **options) ⇒ Object
1826 1827 1828 1829 |
# File 'lib/brick.rb', line 1826 def translate(key = nil, *args, throw: false, raise: false, locale: nil, **) .merge!(args.pop) if args.last.is_a?(Hash) _brick_translate(key = nil, throw: false, raise: false, locale: nil, **) end |