Module: XcodeBuild::Translations

Extended by:
Translations
Included in:
Translations
Defined in:
lib/xcode_build/translations.rb,
lib/xcode_build/translations/building.rb,
lib/xcode_build/translations/cleaning.rb

Defined Under Namespace

Modules: Building, Cleaning

Instance Method Summary collapse

Instance Method Details

#register_translation(key, the_module) ⇒ Object



9
10
11
# File 'lib/xcode_build/translations.rb', line 9

def register_translation(key, the_module)
  registered_translations[key] = the_module
end

#registered_translation(key) ⇒ Object



13
14
15
# File 'lib/xcode_build/translations.rb', line 13

def registered_translation(key)
  registered_translations[key]
end

#registered_translationsObject



5
6
7
# File 'lib/xcode_build/translations.rb', line 5

def registered_translations
  @registered_translators ||= {}
end