Module: SymbolExtensionCustom
- Defined in:
- lib/paid_up/localization.rb
Overview
Symbol Extensions
Instance Method Summary collapse
Instance Method Details
#l_with_args(*args) ⇒ Object
27 28 29 |
# File 'lib/paid_up/localization.rb', line 27 def l_with_args(*args) l(*args).html_safe end |
#localize_with_debugging(*args) ⇒ Object Also known as: l
21 22 23 24 |
# File 'lib/paid_up/localization.rb', line 21 def localize_with_debugging(*args) localized_sym = I18n.translate(self, *args) localized_sym.is_a?(String) ? localized_sym.html_safe : localized_sym end |