Module: Translations::ClassMethods
- Defined in:
- lib/iplayer/translations.rb
Instance Method Summary collapse
Instance Method Details
#get_translation_namespace ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/iplayer/translations.rb', line 42 def get_translation_namespace if ancestors[1].respond_to?(:get_translation_namespace) ancestors[1].get_translation_namespace else [] end + [@translation_namespace] end |
#translation_namespace(ns) ⇒ Object
38 39 40 |
# File 'lib/iplayer/translations.rb', line 38 def translation_namespace(ns) @translation_namespace = ns end |