Module: TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine

Defined in:
lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line.rb

Defined Under Namespace

Modules: Dictionary, Info

Class Method Summary collapse

Class Method Details

.set_modulesObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line.rb', line 3

def self.set_modules
  ::TokyoMetro::Api::TrainTimetable::Info.class_eval do
    include ::TokyoMetro::Modules::Api::Info::Decision::ActualStartingStation
    include ::TokyoMetro::Modules::Api::Info::Decision::ActualTerminalStation

    include ::TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Dictionary

    prepend ::TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Info
  end

  ::TokyoMetro::Api::TrainTimetable::Info::StationTime::List.class_eval do
    prepend ::TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Info::StationTime::List
  end

  ::TokyoMetro::Api::TrainTimetable::Info::StationTime::Info.class_eval do
    prepend ::TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Info::StationTime::Info
  end
end