Sha256: c66772641958b3c64413ee7d8c049b1f1018aaceaf5240f246410fe1d38a69b2
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
# encoding: UTF-8 class Symbol def localize(locale = TwitterCldr.get_locale) TwitterCldr::LocalizedSymbol.new(self, locale) end end module TwitterCldr class LocalizedSymbol < LocalizedObject def as_language_code TwitterCldr::Shared::Languages.from_code_for_locale(@base_obj, @locale) end def formatter_const nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_cldr-1.0.1 | lib/ext/strings/symbol.rb |