Sha256: 9a40f3e8d298fe414a545f2c5194a9bd1b4207e64113aae94cc05aa647fa5be0

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

# encoding: UTF-8

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

module TwitterCldr
  module Js
    module Renderers
      module Data
        module Shared
          class CalendarRenderer < TwitterCldr::Js::Renderers::Base

            def calendar
              TwitterCldr::DataReaders::CalendarDataReader.new(@locale).calendar.calendar_data
            end

            def get_data
              {
                :Calendar => {
                  :calendar => calendar()
                }
              }
            end

          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/renderers/data/shared/calendar_renderer.rb
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/renderers/data/shared/calendar_renderer.rb
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/renderers/data/shared/calendar_renderer.rb
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/renderers/data/shared/calendar_renderer.rb