Class: Zakuro::Result::Range

Inherits:
Core
  • Object
show all
Defined in:
lib/zakuro/result/result.rb

Overview

Range 期間検索結果

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Core

#to_h, #to_json, #to_pretty_json

Constructor Details

#initialize(list: []) ⇒ Range

初期化

Parameters:

  • list (Array<Data::Single>) (defaults to: [])

    期間内データ



50
51
52
53
# File 'lib/zakuro/result/result.rb', line 50

def initialize(list: [])
  super
  @list = list
end

Instance Attribute Details

#listObject (readonly)

Returns the value of attribute list.



43
44
45
# File 'lib/zakuro/result/result.rb', line 43

def list
  @list
end