Sha256: e95a138dba57801e738aedb1c94386bbfe57cb32c4cfbff77755fd5205b77903

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

# 各駅・各路線・各方面の時刻表の情報の配列
class TokyoMetro::Api::StationTimetable::List < TokyoMetro::Api::MetaClass::NotRealTime::List

  include ::TokyoMetro::ClassNameLibrary::Api::StationTimetable
  include ::TokyoMetro::Modules::Common::ToFactory::Seed::List

  include ::TokyoMetro::Modules::Api::List::Selection::RailwayLines

  def seed
    super(
      ::Operator.all ,
      ::RailwayLine.all ,
      ::Station::Info.all ,
      ::RailwayDirection.all ,
      display_number: true
    )
  end

  def seed_train_times( train_timetables )
    __seed__(
      train_timetables ,
      method_name: __method__ ,
      factory_name: :factory_for_seeding_train_times
    )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/api/station_timetable/list.rb