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