Class: Zakuro::Result::Operation::Month::History
- Inherits:
-
Object
- Object
- Zakuro::Result::Operation::Month::History
- Defined in:
- lib/zakuro/result/operation/month/history.rb
Overview
History 月別履歴情報
Instance Attribute Summary collapse
-
#annotations ⇒ Array<Annotation>
readonly
注釈.
-
#id ⇒ String
readonly
ID.
-
#number ⇒ Integer
readonly
原文注釈番号.
-
#page ⇒ Integer
readonly
原文頁数.
-
#western_date ⇒ String
readonly
月初日の西暦日.
Instance Method Summary collapse
-
#initialize(id: '', western_date: '', page: -1,, number: -1,, annotations: []) ⇒ History
constructor
初期化.
Constructor Details
#initialize(id: '', western_date: '', page: -1,, number: -1,, annotations: []) ⇒ History
初期化
43 44 45 46 47 48 49 |
# File 'lib/zakuro/result/operation/month/history.rb', line 43 def initialize(id: '', western_date: '', page: -1, number: -1, annotations: []) @id = id @western_date = western_date @page = page @number = number @annotations = annotations end |
Instance Attribute Details
#annotations ⇒ Array<Annotation> (readonly)
Returns 注釈.
32 33 34 |
# File 'lib/zakuro/result/operation/month/history.rb', line 32 def annotations @annotations end |
#id ⇒ String (readonly)
Returns ID.
24 25 26 |
# File 'lib/zakuro/result/operation/month/history.rb', line 24 def id @id end |
#number ⇒ Integer (readonly)
Returns 原文注釈番号.
30 31 32 |
# File 'lib/zakuro/result/operation/month/history.rb', line 30 def number @number end |
#page ⇒ Integer (readonly)
Returns 原文頁数.
28 29 30 |
# File 'lib/zakuro/result/operation/month/history.rb', line 28 def page @page end |
#western_date ⇒ String (readonly)
Returns 月初日の西暦日.
26 27 28 |
# File 'lib/zakuro/result/operation/month/history.rb', line 26 def western_date @western_date end |