Sha256: 7be6785dad591a713681d1b73a4f026f57bf9e51a8dc2088e69267bfa434bfd6

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

# frozen_string_literal: true

require_relative './resource/parser'

# :nodoc:
module Zakuro
  #
  # Japan 和暦
  #
  module Japan
    #
    # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zakuro-0.6.1 lib/zakuro/era/japan/gengou/resource.rb