Class: TokyoMetro::App::Renderer::FareTable::ToEachRailwayLine::StationInfos::GroupList::Factory
- Inherits:
-
Object
- Object
- TokyoMetro::App::Renderer::FareTable::ToEachRailwayLine::StationInfos::GroupList::Factory
- Defined in:
- lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb
Instance Method Summary collapse
-
#initialize(request, station_infos, fares, normal_fare_groups) ⇒ Factory
constructor
A new instance of Factory.
- #to_a ⇒ Object
Constructor Details
#initialize(request, station_infos, fares, normal_fare_groups) ⇒ Factory
Returns a new instance of Factory.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb', line 3 def initialize( request , station_infos , fares , normal_fare_groups ) @request = request @station_infos = station_infos @fares = fares @normal_fare_groups = normal_fare_groups @ary = ::Array.new @normal_fare_group_id_now = nil @group_info = nil set_ary end |
Instance Method Details
#to_a ⇒ Object
18 19 20 |
# File 'lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb', line 18 def to_a ::TokyoMetro::App::Renderer::FareTable::ToEachRailwayLine::StationInfos::GroupList.new( @ary ) end |