Sha256: aab947963cf7a0ef63bb7ac0b2f2a351c9ad81189f31e52c8ea14cae27efcde3

Contents?: true

Size: 961 Bytes

Versions: 5

Compression:

Stored size: 961 Bytes

Contents

# frozen_string_literal: true

require_relative '../abstract_option'

require_relative './calculation'

# :nodoc:
module Zakuro
  #
  # Result 演算結果
  #
  module Result
    #
    # データ部
    #
    module Data
      #
      # Option オプション
      #
      module Option
        #
        # VanishedDate 滅日
        #
        module VanishedDate
          #
          # Option 滅日集約
          #
          class Option < AbstractOption
            # @return [Calculation] 演算値
            attr_reader :calculation

            #
            # 初期化
            #
            # @param [True, False] matched オプション値有無
            # @param [Calculation] calculation 演算値
            #
            def initialize(matched: false, calculation: Calculation.new)
              super(matched: matched)
              @calculation = calculation
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zakuro-1.0.0 lib/zakuro/result/data/option/vanished_date/option.rb
zakuro-0.9.4 lib/zakuro/result/data/option/vanished_date/option.rb
zakuro-0.9.3 lib/zakuro/result/data/option/vanished_date/option.rb
zakuro-0.9.2 lib/zakuro/result/data/option/vanished_date/option.rb
zakuro-0.9.1 lib/zakuro/result/data/option/vanished_date/option.rb