Sha256: ead9c104a00cba87c2e9f73ff925c7d28fee3f9c9626c1fa3ba26b3252377023

Contents?: true

Size: 758 Bytes

Versions: 6

Compression:

Stored size: 758 Bytes

Contents

# frozen_string_literal: true

require_relative './resource/parser'

# :nodoc:
module Zakuro
  # :nodoc:
  module Japan
    # :nodoc:
    module Gengou
      #
      # Resource yaml解析結果
      #
      module Resource
        # @return [Array<Set>] 元号セット情報リスト
        LIST = [
          Parser.run(filepath: File.expand_path(
            './resource/yaml/set-001-until-south.yaml',
            __dir__
          )),
          Parser.run(filepath: File.expand_path(
            './resource/yaml/set-002-from-north.yaml',
            __dir__
          )),
          Parser.run(filepath: File.expand_path(
            './resource/yaml/set-003-modern.yaml',
            __dir__
          ))
        ].freeze
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zakuro-0.9.2 lib/zakuro/era/japan/gengou/resource.rb
zakuro-0.9.1 lib/zakuro/era/japan/gengou/resource.rb
zakuro-0.9.0 lib/zakuro/era/japan/gengou/resource.rb
zakuro-0.8.0 lib/zakuro/era/japan/gengou/resource.rb
zakuro-0.7.2 lib/zakuro/era/japan/gengou/resource.rb
zakuro-0.7.0 lib/zakuro/era/japan/gengou/resource.rb