Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/spaceship/tunes/language_converter.rb

Instance Method Summary collapse

Instance Method Details

#to_full_languageObject



60
61
62
# File 'lib/spaceship/tunes/language_converter.rb', line 60

def to_full_language
  Spaceship::Tunes::LanguageConverter.from_standard_to_itc(self)
end

#to_itc_localeObject



56
57
58
# File 'lib/spaceship/tunes/language_converter.rb', line 56

def to_itc_locale
  Spaceship::Tunes::LanguageConverter.from_standard_to_itc_locale(self)
end

#to_language_codeObject



52
53
54
# File 'lib/spaceship/tunes/language_converter.rb', line 52

def to_language_code
  Spaceship::Tunes::LanguageConverter.from_itc_to_standard(self)
end