module SymbolExtensionCustom

Enables :text_to_translate.l

Public Instance Methods

l(*args)
l_with_args(*args) click to toggle source
# File lib/bootstrap_leather/localization.rb, line 28
def l_with_args(*args)
  l(*args).html_safe
end
localize_with_debugging(*args) click to toggle source
# File lib/bootstrap_leather/localization.rb, line 22
def localize_with_debugging(*args)
  localized_sym = I18n.translate(self, *args)
  localized_sym.is_a?(String) ? localized_sym.html_safe : localized_sym
end
Also aliased as: l