Sha256: 72d1584df68d60e914fcecad1a32648ce5294b23bad6507441e322477077106c

Contents?: true

Size: 805 Bytes

Versions: 1

Compression:

Stored size: 805 Bytes

Contents

# frozen_string_literal: true

require_relative '../core'

require_relative 'year'

require_relative 'month'

require_relative 'day'

# :nodoc:
module Zakuro
  #
  # Result 演算結果
  #
  module Result
    #
    # データ部
    #
    module Data
      #
      # SingleDay 1日
      #
      class SingleDay < Core
        # @return [Year] 年
        attr_reader :year
        # @return [Month] 月
        attr_reader :month
        # @return [Day] 日
        attr_reader :day

        #
        # 初期化
        #
        # @param [Year] year 年
        # @param [Month] month 月
        # @param [Day] day 日
        #
        def initialize(year:, month:, day:)
          super
          @year = year
          @month = month
          @day = day
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zakuro-0.7.0 lib/zakuro/result/data/single_day.rb