Sha256: 60178993f756a5a80afeca3344f0189003514995ece909cf242eadc16fc42878
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 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 CurrenciesRenderer < TwitterCldr::Js::Renderers::Base set_template "mustache/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
Version data entries
4 entries across 4 versions & 1 rubygems