Module: GettextI18nRails::HtmlSafeTranslations
- Defined in:
- lib/gettext_i18n_rails/html_safe_translations.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
also make available on class methods.
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
also make available on class methods
6 7 8 |
# File 'lib/gettext_i18n_rails/html_safe_translations.rb', line 6 def self.included(base) base.extend self end |
Instance Method Details
#_(*args) ⇒ Object
10 11 12 |
# File 'lib/gettext_i18n_rails/html_safe_translations.rb', line 10 def _(*args) html_safe_if_wanted super end |
#n_(*args) ⇒ Object
14 15 16 |
# File 'lib/gettext_i18n_rails/html_safe_translations.rb', line 14 def n_(*args) html_safe_if_wanted super end |
#s_(*args) ⇒ Object
18 19 20 |
# File 'lib/gettext_i18n_rails/html_safe_translations.rb', line 18 def s_(*args) html_safe_if_wanted super end |