Class: TokyoMetro::Factory::Convert::Customize::Api::StationTimetable::ChiyodaBranchLine::Info

Inherits:
TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal show all
Defined in:
lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line/info.rb

Constant Summary collapse

REGEXP =
/(?<=\Aodpt\.StationTimetable\:TokyoMetro\.)Chiyoda(?=\.(?:KitaAyase\.Ayase|Ayase\.KitaAyase)\Z)/

Instance Attribute Summary

Attributes inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental

#object

Instance Method Summary collapse

Methods inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal

process

Methods inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental

#initialize

Constructor Details

This class inherits a constructor from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental

Instance Method Details

#processObject



5
6
7
8
9
10
11
# File 'lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line/info.rb', line 5

def process
  if to_convert?
    convert_railway_line_name
    set_refinement_module_to_fundamental_infos
    convert_fundamental_infos
  end
end