Sha256: 0cd957e498d20c1f0d57d57a6e736a8a868bcb0e00dfc89f68310a767ab73809
Contents?: true
Size: 651 Bytes
Versions: 4
Compression:
Stored size: 651 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Js module Renderers class Bundle < Mustache self.template_path = File.expand_path(File.join(File.dirname(__FILE__), "..", "mustache")) self.template_file = File.join(self.template_path, "bundle.coffee") self.template_extension = "coffee" def version TwitterCldr::Js::VERSION end def is_rtl? TwitterCldr::Shared::Languages.is_rtl?(self[:locale]) end def current_locale self[:locale] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems