Sha256: 7f3fb17a239670b6fd6a00c25559d46613ac7d8eb405735e7853c2aba5351406
Contents?: true
Size: 665 Bytes
Versions: 3
Compression:
Stored size: 665 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 self.template_file = File.expand_path(File.join(File.dirname(__FILE__), "../..", "mustache/shared/currencies.coffee")) def currencies TwitterCldr::Shared::Currencies.countries.inject({}) do |ret, country_name| ret[country_name] = TwitterCldr::Shared::Currencies.for_country(country_name) ret end.to_json end end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems