Class: TwitterCldr::LocalizedSymbol

Inherits:
LocalizedObject show all
Defined in:
lib/twitter_cldr/core_ext/symbol.rb

Instance Attribute Summary

Attributes inherited from LocalizedObject

#base_obj, #formatter, #locale

Instance Method Summary collapse

Methods inherited from LocalizedObject

#initialize

Constructor Details

This class inherits a constructor from TwitterCldr::LocalizedObject

Instance Method Details

#as_language_codeObject


14
15
16
# File 'lib/twitter_cldr/core_ext/symbol.rb', line 14

def as_language_code
  TwitterCldr::Shared::Languages.from_code_for_locale(@base_obj, @locale)
end

#formatter_constObject


18
19
20
# File 'lib/twitter_cldr/core_ext/symbol.rb', line 18

def formatter_const
  nil
end