Sha256: 886342a3e5623842675fdec55b91da9f6ff22997dba96b13600584a20e4dd7b5

Contents?: true

Size: 481 Bytes

Versions: 8

Compression:

Stored size: 481 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Js
    module Renderers
      class Base < Mustache

        attr_reader :locale

        def initialize(options = {})
          @locale = options[:locale]
        end

        def self.set_template(template_path)
          self.template_file = File.expand_path(File.join(File.dirname(__FILE__), "..", template_path))
        end

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-2.4.0 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-2.3.2 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-2.3.1 lib/twitter_cldr/js/renderers/base.rb
twitter_cldr_js-2.3.0 lib/twitter_cldr/js/renderers/base.rb