lib/zakuro/version/gihou/stella/solar/value.rb in zakuro-0.9.4 vs lib/zakuro/version/gihou/stella/solar/value.rb in zakuro-1.0.0

- old
+ new

@@ -7,30 +7,33 @@ require_relative './adjustment' # :nodoc: module Zakuro # :nodoc: - module Gihou + module Version # :nodoc: - module Solar - # - # Value 太陽補正値 - # - module Value - class << self - # - # 太陽の運行による補正値を算出する - # - # @param [SolarTerm] solar_location 入定気 - # - # @return [Integer] 補正値 - # - def get(solar_location:) - remainder = solar_location.remainder + module Gihou + # :nodoc: + module Solar + # + # Value 太陽補正値 + # + module Value + class << self + # + # 太陽の運行による補正値を算出する + # + # @param [SolarTerm] solar_location 入定気 + # + # @return [Integer] 補正値 + # + def get(solar_location:) + remainder = solar_location.remainder - row = Adjustment.specify(index: solar_location.index) + row = Adjustment.specify(index: solar_location.index) - Calculation::Solar::ChoukeiValue.get(remainder: remainder, row: row) + Calculation::Solar::ChoukeiValue.get(remainder: remainder, row: row) + end end end end end end