Sha256: 2de3f5a3165dec7b158dbffd4e27991cf5cffd73d2ec373ecc265791742b76ee

Contents?: true

Size: 959 Bytes

Versions: 8

Compression:

Stored size: 959 Bytes

Contents

# frozen_string_literal: true

require_relative '../abstract_option'

require_relative './calculation'

# :nodoc:
module Zakuro
  #
  # Result 演算結果
  #
  module Result
    #
    # データ部
    #
    module Data
      #
      # Option オプション
      #
      module Option
        #
        # DroppedDate 没日
        #
        module DroppedDate
          #
          # 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

8 entries across 8 versions & 1 rubygems

Version Path
zakuro-1.0.0 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.9.4 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.9.3 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.9.2 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.9.1 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.9.0 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.8.0 lib/zakuro/result/data/option/dropped_date/option.rb
zakuro-0.7.2 lib/zakuro/result/data/option/dropped_date/option.rb