Sha256: 99982ef0f186e38038cf4bbea3b5d57bd03e6ed05faaa86ad1df6b5bb1e1564e

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

# encoding: UTF-8

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

require 'cldr-plurals'
require 'cldr-plurals/javascript_runtime'

module TwitterCldr
  module Js
    module Renderers
      module Implementation
        module PluralRules

          class PluralRulesRenderer < TwitterCldr::Js::Renderers::Base
            set_template "mustache/implementation/plurals/rules.coffee"

            def runtime
              CldrPlurals::JavascriptRuntime.source
            end

          end

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/renderers/implementation/plurals.rb
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/renderers/implementation/plurals.rb
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/renderers/implementation/plurals.rb
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/renderers/implementation/plurals.rb