Sha256: 3decd1022f710ea8d4b1479e7114893a8d801838a459031ff390ece8c8852e1f

Contents?: true

Size: 517 Bytes

Versions: 6

Compression:

Stored size: 517 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Js
    module Renderers
      module Shared

        class ListRenderer < TwitterCldr::Js::Renderers::Base
          self.template_file = File.expand_path(File.join(File.dirname(__FILE__), "../..", "mustache/shared/lists.coffee"))

          def formats
            TwitterCldr.get_locale_resource(@locale, :lists)[@locale][:lists].to_json
          end
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
twitter_cldr_js-2.2.4 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.2.3 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.2.2 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.2.0 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.1.0 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.0.0 lib/twitter_cldr/js/renderers/shared/list_renderer.rb