class TwitterCldr::Localized::LocalizedSymbol
Public Instance Methods
as_language_code()
click to toggle source
# File lib/twitter_cldr/localized/localized_symbol.rb, line 10 def as_language_code TwitterCldr::Shared::Languages.from_code_for_locale(@base_obj, @locale) end
as_locale()
click to toggle source
# File lib/twitter_cldr/localized/localized_symbol.rb, line 14 def as_locale TwitterCldr::Shared::Locale.parse(@base_obj.to_s) end
as_territory()
click to toggle source
# File lib/twitter_cldr/localized/localized_symbol.rb, line 18 def as_territory TwitterCldr::Shared::Territories::from_territory_code_for_locale(@base_obj, @locale) end
formatter_const()
click to toggle source
# File lib/twitter_cldr/localized/localized_symbol.rb, line 26 def formatter_const nil end
is_rtl?()
click to toggle source
# File lib/twitter_cldr/localized/localized_symbol.rb, line 22 def is_rtl? TwitterCldr::Shared::Languages.is_rtl?(@base_obj) end