Sha256: 1520c1a41e2e7b4f6f56d22f432cd222cd79ec311445c5d25f5724cd87a8f452
Contents?: true
Size: 676 Bytes
Versions: 4
Compression:
Stored size: 676 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Js module Renderers module Implementation module Shared class CurrenciesRenderer < TwitterCldr::Js::Renderers::Base set_template "mustache/implementation/shared/currencies.coffee" def currencies TwitterCldr::Shared::Currencies.currency_codes.inject({}) do |ret, currency_code| ret[currency_code] = TwitterCldr::Shared::Currencies.for_code(currency_code) ret end.to_json end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems