Hash 化
Parameters:
{ :notes => String } という Hash の指定と等価
{ :indices => Integer } という Hash の指定と等価
下記のとおり
Options Hash (options):
暦注を計算する暦注オブジェクトまたはそのIRI
CalendarNote#notes を参照
Returns:
:calendar calendar_name の結果 ( name, epoch, reverse, go back )
name 暦法または暦年代 (When::TM::Calendar, When::TM::CalendarEra)
epoch 暦元 (Integer)
reverse 暦年の順序 (Boolean)
[ false, nil 昇順 ] [ true 降順 ]
go back 参照イベントより前の暦日か(Boolean)
[ false, nil 否 ] [ true 然り ]
:cal_date cal_date の内容 (year, month, day)
[ year - 年 ({Numeric}) ] [ month - 月 ({Numeric}) ] [ day - 日 ({Numeric}) ]
:clk_time to_clock_time の結果 ( 日, 時, 分, 秒 )
:notes Hash (の Array (の Array)) - _notes(options)
1136 1137 1138
# File 'lib/when_exe/inspect.rb', line 1136 def _to_h(options={}) super.update({:cal_date=>@cal_date}) end