Sha256: 14bd40724bbcef612167511ec56285a9256d15eb988682d5bf2fa5ea8555c9e1

Contents?: true

Size: 457 Bytes

Versions: 4

Compression:

Stored size: 457 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
          set_template "mustache/shared/lists.coffee"

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

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-2.4.0 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.3.2 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.3.1 lib/twitter_cldr/js/renderers/shared/list_renderer.rb
twitter_cldr_js-2.3.0 lib/twitter_cldr/js/renderers/shared/list_renderer.rb