Sha256: 2907f48ce8db7bedae770cde2945718e303ea764fcb45b701655a8f47fb5b234

Contents?: true

Size: 449 Bytes

Versions: 32

Compression:

Stored size: 449 Bytes

Contents

# encoding: UTF-8

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

module TwitterCldr
  module Localized

    class LocalizedSymbol < LocalizedObject
      def as_language_code
        TwitterCldr::Shared::Languages.from_code_for_locale(@base_obj, @locale)
      end

      def is_rtl?
        TwitterCldr::Shared::Languages.is_rtl?(@base_obj)
      end

      def formatter_const
        nil
      end
    end

  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
twitter_cldr-3.0.0.beta1 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.4.2 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.4.1 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.4.0 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.2.0 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.1.1 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.1.0 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.0.2 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.0.1 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-2.0.0 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-1.9.1 lib/twitter_cldr/localized/localized_symbol.rb
twitter_cldr-1.9.0 lib/twitter_cldr/localized/localized_symbol.rb