Sha256: 3c13923f11d08353724e27f96b1460c05b23efe5cc8f375de9ab71e50bf98225

Contents?: true

Size: 560 Bytes

Versions: 7

Compression:

Stored size: 560 Bytes

Contents

# frozen_string_literal: true

require_relative './internal/crawler'

# :nodoc:
module Zakuro
  # :nodoc:
  module Calculation
    # :nodoc:
    module Version
      class << self
        #
        # 暦の範囲を取得する
        #
        # @param [Integer] start_year 開始西暦年
        # @param [Integer] last_year 終了西暦年
        #
        # @return [Array<Range>] 暦の範囲
        #
        def get(start_year:, last_year:)
          Crawler.get(start_year: start_year, last_year: last_year)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zakuro-1.0.0 lib/zakuro/calculation/era/version/version.rb
zakuro-0.9.4 lib/zakuro/calculation/era/version/version.rb
zakuro-0.9.3 lib/zakuro/calculation/era/version/version.rb
zakuro-0.9.2 lib/zakuro/calculation/era/version/version.rb
zakuro-0.9.1 lib/zakuro/calculation/era/version/version.rb
zakuro-0.9.0 lib/zakuro/calculation/era/version/version.rb
zakuro-0.8.0 lib/zakuro/calculation/era/version/version.rb