Module: Zakuro::Calculation::Summary::Western::Single
- Defined in:
- lib/zakuro/calculation/summary/western/single.rb
Overview
Single 一日
Class Method Summary collapse
Class Method Details
.get(context:, date: Western::Calendar.new) ⇒ Result::Single
生成する
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/zakuro/calculation/summary/western/single.rb', line 32 def get(context:, date: Western::Calendar.new) years = get_full_range_years(context: context, date: date) data = get_data(context: context, years: years, date: date) operation = get_operation(years: years, date: date) Result::Single.new( data: data, operation: operation ) end |