tokyo_metro 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.current_version +1 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Capfile +34 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +39 -0
- data/Rakefile +16 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/config/deploy.rb +38 -0
- data/config/deploy/production.rb +61 -0
- data/config/deploy/staging.rb +61 -0
- data/exe/tokyo_metro +3 -0
- data/lib/tokyo_metro.rb +320 -0
- data/lib/tokyo_metro/api.rb +163 -0
- data/lib/tokyo_metro/api/fare.rb +94 -0
- data/lib/tokyo_metro/api/fare/info.rb +200 -0
- data/lib/tokyo_metro/api/fare/list.rb +25 -0
- data/lib/tokyo_metro/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/data_search.rb +8 -0
- data/lib/tokyo_metro/api/meta_class/fundamental.rb +18 -0
- data/lib/tokyo_metro/api/meta_class/fundamental/info.rb +15 -0
- data/lib/tokyo_metro/api/meta_class/fundamental/list.rb +32 -0
- data/lib/tokyo_metro/api/meta_class/geo.rb +4 -0
- data/lib/tokyo_metro/api/meta_class/geo/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/geo/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/hybrid.rb +10 -0
- data/lib/tokyo_metro/api/meta_class/hybrid/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/hybrid/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time/info.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/not_real_time/list.rb +3 -0
- data/lib/tokyo_metro/api/meta_class/real_time.rb +7 -0
- data/lib/tokyo_metro/api/meta_class/real_time/info.rb +7 -0
- data/lib/tokyo_metro/api/meta_class/real_time/list.rb +21 -0
- data/lib/tokyo_metro/api/mlit_railway_line.rb +35 -0
- data/lib/tokyo_metro/api/mlit_railway_line/info.rb +88 -0
- data/lib/tokyo_metro/api/mlit_railway_line/list.rb +11 -0
- data/lib/tokyo_metro/api/mlit_station.rb +22 -0
- data/lib/tokyo_metro/api/mlit_station/info.rb +32 -0
- data/lib/tokyo_metro/api/mlit_station/list.rb +17 -0
- data/lib/tokyo_metro/api/passenger_survey.rb +74 -0
- data/lib/tokyo_metro/api/passenger_survey/info.rb +68 -0
- data/lib/tokyo_metro/api/passenger_survey/list.rb +40 -0
- data/lib/tokyo_metro/api/point.rb +98 -0
- data/lib/tokyo_metro/api/point/info.rb +154 -0
- data/lib/tokyo_metro/api/point/info/title.rb +50 -0
- data/lib/tokyo_metro/api/point/info/title/code.rb +83 -0
- data/lib/tokyo_metro/api/point/list.rb +20 -0
- data/lib/tokyo_metro/api/railway_line.rb +123 -0
- data/lib/tokyo_metro/api/railway_line/info.rb +154 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class/info.rb +12 -0
- data/lib/tokyo_metro/api/railway_line/info/meta_class/list.rb +17 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order/info.rb +47 -0
- data/lib/tokyo_metro/api/railway_line/info/station_order/list.rb +4 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time/info.rb +63 -0
- data/lib/tokyo_metro/api/railway_line/info/travel_time/list.rb +8 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car.rb +3 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car/info.rb +76 -0
- data/lib/tokyo_metro/api/railway_line/info/women_only_car/list.rb +8 -0
- data/lib/tokyo_metro/api/railway_line/list.rb +36 -0
- data/lib/tokyo_metro/api/station.rb +95 -0
- data/lib/tokyo_metro/api/station/info.rb +192 -0
- data/lib/tokyo_metro/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/api/station/info/common/info.rb +7 -0
- data/lib/tokyo_metro/api/station/info/common/list.rb +17 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line.rb +3 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/connecting_railway_line/list.rb +23 -0
- data/lib/tokyo_metro/api/station/info/exit.rb +3 -0
- data/lib/tokyo_metro/api/station/info/exit/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/exit/list.rb +12 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey.rb +3 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/info.rb +17 -0
- data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/list.rb +8 -0
- data/lib/tokyo_metro/api/station/list.rb +94 -0
- data/lib/tokyo_metro/api/station_facility.rb +69 -0
- data/lib/tokyo_metro/api/station_facility/info.rb +76 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free.rb +41 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/info.rb +34 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +40 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/list.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift/info.rb +11 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift/info.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet.rb +6 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +47 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/info.rb +36 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/info.rb +96 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/list.rb +22 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/info.rb +117 -0
- data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb +26 -0
- data/lib/tokyo_metro/api/station_facility/info/platform.rb +3 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info.rb +95 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/list.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common/info.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/common/list.rb +10 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/info.rb +17 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/list.rb +7 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/info.rb +32 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/list.rb +8 -0
- data/lib/tokyo_metro/api/station_facility/info/platform/list.rb +22 -0
- data/lib/tokyo_metro/api/station_facility/list.rb +38 -0
- data/lib/tokyo_metro/api/station_timetable.rb +162 -0
- data/lib/tokyo_metro/api/station_timetable/info.rb +405 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info.rb +58 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/info.rb +24 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/list.rb +14 -0
- data/lib/tokyo_metro/api/station_timetable/info/fundamental/list.rb +28 -0
- data/lib/tokyo_metro/api/station_timetable/info/hash.rb +35 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info.rb +254 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note.rb +56 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/arrive_at.rb +82 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/connection_info.rb +24 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/list.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/platform_number.rb +44 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/no_connection.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/toei_mita_line_connected_to_namboku_line.rb +29 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/start_from_this_station.rb +16 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station.rb +19 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/ayase.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/fundamental.rb +28 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/wakoshi.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara/connected_for_wakoshi.rb +22 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +3 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/fundamental.rb +36 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro.rb +23 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/fundamental.rb +19 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/semi_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/fundamental.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko.rb +22 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/commuter_limited_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/fundamental.rb +17 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/limited_express.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/local.rb +11 -0
- data/lib/tokyo_metro/api/station_timetable/info/train_time/list.rb +122 -0
- data/lib/tokyo_metro/api/station_timetable/list.rb +27 -0
- data/lib/tokyo_metro/api/station_train_time.rb +106 -0
- data/lib/tokyo_metro/api/train_location.rb +124 -0
- data/lib/tokyo_metro/api/train_location/info.rb +229 -0
- data/lib/tokyo_metro/api/train_location/info/delay.rb +104 -0
- data/lib/tokyo_metro/api/train_location/list.rb +35 -0
- data/lib/tokyo_metro/api/train_operation.rb +81 -0
- data/lib/tokyo_metro/api/train_operation/info.rb +150 -0
- data/lib/tokyo_metro/api/train_operation/info/basic_error.rb +13 -0
- data/lib/tokyo_metro/api/train_operation/info/json_parser_error.rb +11 -0
- data/lib/tokyo_metro/api/train_operation/info/network_error.rb +11 -0
- data/lib/tokyo_metro/api/train_operation/list.rb +22 -0
- data/lib/tokyo_metro/api/train_timetable.rb +70 -0
- data/lib/tokyo_metro/api/train_timetable/info.rb +231 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info.rb +104 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/info.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/list.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +21 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +29 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +11 -0
- data/lib/tokyo_metro/api/train_timetable/info/station_time/list.rb +47 -0
- data/lib/tokyo_metro/api/train_timetable/list.rb +53 -0
- data/lib/tokyo_metro/api_processor.rb +2 -0
- data/lib/tokyo_metro/api_processor/real_time_infos.rb +185 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/info.rb +28 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/list.rb +39 -0
- data/lib/tokyo_metro/api_processor/real_time_infos/provision_status.rb +31 -0
- data/lib/tokyo_metro/app.rb +2 -0
- data/lib/tokyo_metro/app/renderer.rb +2 -0
- data/lib/tokyo_metro/app/renderer/color_box.rb +41 -0
- data/lib/tokyo_metro/app/renderer/concerns.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/header.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/content.rb +119 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/content/size_changing_button_type.rb +14 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/meta_class.rb +30 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/selection.rb +58 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title.rb +52 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/base.rb +29 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb +11 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/meta_class.rb +15 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/sub_content.rb +14 -0
- data/lib/tokyo_metro/app/renderer/concerns/header/title/top.rb +16 -0
- data/lib/tokyo_metro/app/renderer/concerns/link.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/normal.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/normal/meta_class.rb +162 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_platform_info.rb +103 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_railway_line_page.rb +57 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_station_facility_page.rb +9 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/meta_class.rb +66 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb +49 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/from_station_facility_page.rb +22 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class.rb +124 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class/group.rb +32 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/passenger_survey.rb +68 -0
- data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/real_time_infos.rb +40 -0
- data/lib/tokyo_metro/app/renderer/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/connecting_railway_line/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/document.rb +2 -0
- data/lib/tokyo_metro/app/renderer/document/link.rb +33 -0
- data/lib/tokyo_metro/app/renderer/document/size_changing_button.rb +25 -0
- data/lib/tokyo_metro/app/renderer/fare_table.rb +2 -0
- data/lib/tokyo_metro/app/renderer/fare_table/group.rb +50 -0
- data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb +26 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line.rb +162 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/rows.rb +41 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos.rb +7 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_info.rb +72 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list.rb +10 -0
- data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb +64 -0
- data/lib/tokyo_metro/app/renderer/icon.rb +32 -0
- data/lib/tokyo_metro/app/renderer/icon/font_awesome.rb +44 -0
- data/lib/tokyo_metro/app/renderer/icon/font_awesome/stacked.rb +30 -0
- data/lib/tokyo_metro/app/renderer/icon/image.rb +27 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/index.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class.rb +100 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class/each_year.rb +83 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/station.rb +51 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/year.rb +16 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table.rb +2 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class.rb +54 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/header.rb +55 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/row.rb +66 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line.rb +35 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/header.rb +30 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/row.rb +58 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb +25 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/header.rb +13 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/row.rb +29 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year.rb +23 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/header.rb +12 -0
- data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/row.rb +24 -0
- data/lib/tokyo_metro/app/renderer/railway_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/link_to_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/links.rb +2 -0
- data/lib/tokyo_metro/app/renderer/railway_line/links/header.rb +14 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos.rb +199 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb +146 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/meta_class.rb +114 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_location_infos.rb +81 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb +21 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole.rb +46 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole/header.rb +23 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page/each_controller.rb +54 -0
- data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/links_to_railway_line_pages.rb +46 -0
- data/lib/tokyo_metro/app/renderer/rss.rb +20 -0
- data/lib/tokyo_metro/app/renderer/side_menu.rb +29 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link.rb +2 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/list.rb +96 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/meta_class.rb +17 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_document.rb +78 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content.rb +2 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/index.rb +141 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/of_station.rb +95 -0
- data/lib/tokyo_metro/app/renderer/side_menu/link/to_other_website.rb +48 -0
- data/lib/tokyo_metro/app/renderer/side_menu/now_developing.rb +35 -0
- data/lib/tokyo_metro/app/renderer/side_menu/now_developing/header.rb +19 -0
- data/lib/tokyo_metro/app/renderer/side_menu/problems.rb +54 -0
- data/lib/tokyo_metro/app/renderer/side_menu/problems/header.rb +19 -0
- data/lib/tokyo_metro/app/renderer/station_code.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_code/normal.rb +37 -0
- data/lib/tokyo_metro/app/renderer/station_facility.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/barrier_free_info.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/platform_info.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/other_operators.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/the_same_operator.rb +14 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform.rb +155 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/of_special_direction.rb +7 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/of_special_direction.rb +7 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/each_direction.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/common.rb +83 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/each_direction.rb +116 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/inside.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/meta_class.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/outside.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/meta_class.rb +98 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/surrounding_area_infos.rb +13 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos.rb +24 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/whole.rb +56 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/common.rb +15 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/each_direction.rb +42 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/whole.rb +24 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/common.rb +21 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/each_direction.rb +11 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/whole.rb +22 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb +21 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/whole.rb +5 -0
- data/lib/tokyo_metro/app/renderer/station_facility/platform/list.rb +29 -0
- data/lib/tokyo_metro/app/renderer/station_link_list.rb +27 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/english.rb +41 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/japanese.rb +42 -0
- data/lib/tokyo_metro/app/renderer/station_link_list/meta_class.rb +68 -0
- data/lib/tokyo_metro/app/renderer/station_matrix.rb +32 -0
- data/lib/tokyo_metro/app/renderer/station_timetable.rb +2 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group.rb +52 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line.rb +55 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction.rb +72 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day.rb +69 -0
- data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day/station_train_times.rb +163 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/header.rb +14 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/columns.rb +7 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/common.rb +138 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/multiple_railway_lines.rb +33 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/one_railway_line.rb +22 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/section.rb +71 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station.rb +72 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station/link_to_railway_line_page.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation.rb +83 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type.rb +74 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type/railway_line_and_terminal_station.rb +31 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line.rb +57 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line.rb +34 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom.rb +50 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/chiyoda_branch_line.rb +29 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/to_jr_joban_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top.rb +16 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_romance_car.rb +26 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_semi_express.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_tama_express.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line.rb +29 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom/to_tokyu_toyoko_and_minatomirai_line.rb +20 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/top.rb +22 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/ginza_line.rb +31 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom/to_tobu_line.rb +27 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top/to_tokyu_den_en_toshi_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line.rb +11 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom/to_tobu_line.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/marunouchi_line.rb +18 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom/to_saitama_railway_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top/to_tokyu_meguro_line.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line.rb +25 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom.rb +37 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_jr_sobu_line.rb +14 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_toyo_rapid_railway_line.rb +13 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top.rb +10 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top/to_jr_chuo_line.rb +13 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top.rb +17 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_seibu_ikebukuro_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_tobu_tojo_line.rb +21 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line.rb +19 -0
- data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line/top.rb +22 -0
- data/lib/tokyo_metro/app/renderer/twitter.rb +68 -0
- data/lib/tokyo_metro/app/renderer/twitter/header.rb +22 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info.rb +43 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info/each_railway.rb +52 -0
- data/lib/tokyo_metro/app/renderer/women_only_car_info/header.rb +14 -0
- data/lib/tokyo_metro/class_name_library.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api/fare.rb +125 -0
- data/lib/tokyo_metro/class_name_library/api/mlit_railway_line.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/mlit_station.rb +113 -0
- data/lib/tokyo_metro/class_name_library/api/passenger_survey.rb +124 -0
- data/lib/tokyo_metro/class_name_library/api/point.rb +150 -0
- data/lib/tokyo_metro/class_name_library/api/railway_line.rb +186 -0
- data/lib/tokyo_metro/class_name_library/api/station.rb +218 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility.rb +389 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free.rb +3 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/elevator.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/escalator.rb +36 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/link_for_mobility_scooter.rb +36 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/meta_class.rb +39 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/stairlift.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/toilet.rb +30 -0
- data/lib/tokyo_metro/class_name_library/api/station_timetable.rb +197 -0
- data/lib/tokyo_metro/class_name_library/api/station_train_time.rb +17 -0
- data/lib/tokyo_metro/class_name_library/api/station_train_time/db.rb +33 -0
- data/lib/tokyo_metro/class_name_library/api/train_location.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/train_operation.rb +112 -0
- data/lib/tokyo_metro/class_name_library/api/train_timetable.rb +178 -0
- data/lib/tokyo_metro/class_name_library/static.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/color.rb +17 -0
- data/lib/tokyo_metro/class_name_library/static/fare.rb +52 -0
- data/lib/tokyo_metro/class_name_library/static/operation_day.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/operator.rb +55 -0
- data/lib/tokyo_metro/class_name_library/static/railway_direction.rb +52 -0
- data/lib/tokyo_metro/class_name_library/static/railway_line.rb +67 -0
- data/lib/tokyo_metro/class_name_library/static/station.rb +142 -0
- data/lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_operation_status.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_owner.rb +48 -0
- data/lib/tokyo_metro/class_name_library/static/train_type.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/color.rb +36 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/default_setting.rb +36 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/main.rb +139 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/custom/other_operator.rb +43 -0
- data/lib/tokyo_metro/class_name_library/static/train_type/in_api.rb +48 -0
- data/lib/tokyo_metro/dictionary.rb +9 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/ignored_railway_lines.yaml +7 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/index_in_stations.yaml +660 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/new_and_old_railway_lines.yaml +29 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/optional_railway_lines.yaml +41 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/replacing_railway_lines.yaml +19 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/transfer_additional_infos.yaml +440 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_facility/transfer_info/replacing_railway_lines.yaml +82 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/ignored_station_timetables.yaml +15 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/replacing_infos.yaml +435 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/starting_and_terminal_stations.yaml +37 -0
- data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/train_relations.yaml +20 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/station/connecting_railway_line/ignored_railway_lines.yaml +67 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/station_facility/surrounding_areas.yaml +1 -0
- data/lib/tokyo_metro/dictionary/additional_infos/patches/train_timetable/yurakucho_and_fukutoshin_line/invalid_trains_on_yurakucho_line.yaml +44 -0
- data/lib/tokyo_metro/dictionary/english.yaml +7 -0
- data/lib/tokyo_metro/dictionary/fare/20140401_normal.yaml +25 -0
- data/lib/tokyo_metro/dictionary/models.yaml +97 -0
- data/lib/tokyo_metro/dictionary/operation_day.yaml +44 -0
- data/lib/tokyo_metro/dictionary/operator.yaml +292 -0
- data/lib/tokyo_metro/dictionary/railway_direction.yaml +288 -0
- data/lib/tokyo_metro/dictionary/railway_line.yaml +881 -0
- data/lib/tokyo_metro/dictionary/railway_line/tokyo_metro_lines_in_system.yaml +11 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_kaisoku.yaml +12 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_sobu.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/keihin_tohoku.yaml +18 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/sobu.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/yamanote.yaml +26 -0
- data/lib/tokyo_metro/dictionary/station/file_list.yaml +241 -0
- data/lib/tokyo_metro/dictionary/station/frequently_appeared.yaml +45 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/chuo_tozai.yaml +64 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/joban_local.yaml +148 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/jr/sobu_tozai.yaml +41 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/enoshima.yaml +192 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/hakone_tozan.yaml +62 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/odawara.yaml +629 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/tama.yaml +110 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/saitama_railway/saitama_railway.yaml +74 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/ikebukuro.yaml +448 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/sayama.yaml +30 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_chichibu.yaml +65 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_yurakucho.yaml +37 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/seibu/toshima.yaml +22 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/isesaki.yaml +305 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/kinugawa.yaml +80 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/nikko.yaml +315 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree.yaml +365 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree_oshiage.yaml +25 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tobu_tojo/tojo.yaml +486 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/asakusa.yaml +219 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/mita.yaml +282 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/oedo.yaml +386 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/shinjuku.yaml +233 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toei/toden_arakawa.yaml +271 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/den_en_toshi.yaml +309 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/meguro.yaml +148 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/minatomirai.yaml +70 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/toyoko.yaml +246 -0
- data/lib/tokyo_metro/dictionary/station/other_operator/toyo_rapid/toyo_rapid.yaml +99 -0
- data/lib/tokyo_metro/dictionary/station/same_as_in_db.yaml +8 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro.yaml +146 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda.yaml +210 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda_branch.yaml +26 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/fukutoshin.yaml +214 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/ginza.yaml +191 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/hanzomon.yaml +159 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/hibiya.yaml +219 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi.yaml +249 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi_branch.yaml +39 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/namboku.yaml +215 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/tozai.yaml +281 -0
- data/lib/tokyo_metro/dictionary/station/tokyo_metro/yurakucho.yaml +277 -0
- data/lib/tokyo_metro/dictionary/stations_in_tokyo_metro.yaml +928 -0
- data/lib/tokyo_metro/dictionary/stopping_pattern.yaml +6 -0
- data/lib/tokyo_metro/dictionary/train_operation_status.yaml +120 -0
- data/lib/tokyo_metro/dictionary/train_owner.yaml +35 -0
- data/lib/tokyo_metro/dictionary/train_type/color.yaml +33 -0
- data/lib/tokyo_metro/dictionary/train_type/default_settings.yaml +64 -0
- data/lib/tokyo_metro/dictionary/train_type/in_api.yaml +98 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/odakyu.yaml +54 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/seibu.yaml +48 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu.yaml +24 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu_tojo.yaml +9 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/tokyu.yaml +98 -0
- data/lib/tokyo_metro/dictionary/train_type/other_operator/toyo_rapid_railway.yaml +13 -0
- data/lib/tokyo_metro/dictionary/train_type/romance_car_train_names.yaml +12 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/asakusa.yaml +28 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/mita.yaml +40 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/oedo.yaml +15 -0
- data/lib/tokyo_metro/dictionary/train_type/toei/shinjuku.yaml +25 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda.yaml +74 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda_romance_car.yaml +125 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/ginza.yaml +9 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hanzomon.yaml +83 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hibiya.yaml +13 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/marunouchi.yaml +21 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/namboku.yaml +36 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/tozai.yaml +190 -0
- data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/yurakucho_fukutoshin.yaml +194 -0
- data/lib/tokyo_metro/dictionary/train_type_basename_in_api.yaml +14 -0
- data/lib/tokyo_metro/dictionary/view/icon/font_awesome_icon.yaml +228 -0
- data/lib/tokyo_metro/dictionary/view/icon/image.yaml +1 -0
- data/lib/tokyo_metro/dictionary/view/rss.yaml +12 -0
- data/lib/tokyo_metro/dictionary/view/train_operation_status_for_test.yaml +30 -0
- data/lib/tokyo_metro/document.rb +53 -0
- data/lib/tokyo_metro/document/gviz.rb +9 -0
- data/lib/tokyo_metro/document/gviz/convert_to_image.rb +23 -0
- data/lib/tokyo_metro/document/gviz/dir_graph.rb +68 -0
- data/lib/tokyo_metro/document/gviz/ruby_graph.rb +30 -0
- data/lib/tokyo_metro/document/make_examples.rb +2 -0
- data/lib/tokyo_metro/document/make_examples/static.rb +19 -0
- data/lib/tokyo_metro/document/make_examples/static/each_file.rb +27 -0
- data/lib/tokyo_metro/document/make_examples/static/each_file/each_method.rb +73 -0
- data/lib/tokyo_metro/factory.rb +3 -0
- data/lib/tokyo_metro/factory/before_decorate.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location/info.rb +89 -0
- data/lib/tokyo_metro/factory/before_decorate/api/train_location/list.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type.rb +192 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type/pattern.rb +35 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/convert_railway_line.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/current_station.rb +11 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/operation_day.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/process_patterns.rb +39 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/railway_line.rb +13 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/regexp_library.rb +83 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/starting_station.rb +14 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/terminal_station.rb +14 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/train_type.rb +16 -0
- data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/yurakucho_and_fukutoshin_line.rb +62 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type.rb +88 -0
- data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb +18 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info.rb +2 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type.rb +71 -0
- data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type/pattern.rb +18 -0
- data/lib/tokyo_metro/factory/common.rb +2 -0
- data/lib/tokyo_metro/factory/convert.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb +29 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter/info_for_conversion.rb +52 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental.rb +9 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/normal.rb +8 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/updated.rb +12 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos/railway_line.rb +65 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station/info.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station/info.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name/info.rb +33 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car/info.rb +32 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line/info.rb +41 -0
- data/lib/tokyo_metro/factory/convert/common/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info.rb +36 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line/info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/common/api/station/station_code.rb +15 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility/escalator.rb +50 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform.rb +21 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform/transfer.rb +21 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations.rb +2 -0
- data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations/info.rb +24 -0
- data/lib/tokyo_metro/factory/convert/customize.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list.rb +21 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list/each_condition.rb +41 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase/info.rb +34 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate/list.rb +118 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate/list.rb +72 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line/info.rb +210 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line/info.rb +48 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line/info.rb +28 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue/info.rb +41 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos.rb +9 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info.rb +25 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info/each_transfer_info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate/list.rb +48 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line/info.rb +35 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line/info.rb +16 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car/info.rb +45 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line/info.rb +20 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line/info.rb +22 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name/info.rb +25 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station/info.rb +16 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line/info.rb +23 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +108 -0
- data/lib/tokyo_metro/factory/convert/dictionary.rb +2 -0
- data/lib/tokyo_metro/factory/convert/dictionary/regexp_for_replace.rb +10 -0
- data/lib/tokyo_metro/factory/convert/patch.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line/info.rb +11 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free/info.rb +22 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform/info.rb +36 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb +24 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator/service_detail.rb +4 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator/service_detail/chiyoda_otemachi_outside_escalator_1.rb +14 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +42 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail/chiyoda_kasumigaseki_outside_escalators.rb +12 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail/ginza_akasaka_mitsuke_outside_escalator.rb +12 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita/info.rb +37 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +16 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time/info.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time/info.rb +18 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +24 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info.rb +13 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time/info.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time/info.rb +28 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line/info.rb +49 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate/list.rb +40 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb +31 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/info.rb +29 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/list.rb +15 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays/info.rb +83 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +37 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info.rb +2 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info/remark.rb +45 -0
- data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/place_name.rb +12 -0
- data/lib/tokyo_metro/factory/decorate.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time/info.rb +10 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info.rb +170 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info/delay.rb +80 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/info/train_type.rb +107 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/list.rb +33 -0
- data/lib/tokyo_metro/factory/decorate/api/train_location/list/each_direction.rb +34 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/common.rb +36 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info.rb +238 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/basic_error.rb +38 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/json_parser_error.rb +14 -0
- data/lib/tokyo_metro/factory/decorate/api/train_operation/info/network_error.rb +14 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator.rb +23 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document.rb +72 -0
- data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document/color_info.rb +19 -0
- data/lib/tokyo_metro/factory/decorate/meta_class.rb +19 -0
- data/lib/tokyo_metro/factory/generate.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/fare/info.rb +22 -0
- data/lib/tokyo_metro/factory/generate/api/fare/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/factory_class.rb +74 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/module_for_method.rb +16 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental.rb +63 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/barrier_free.rb +15 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/meta_class.rb +73 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/normal.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/info/not_on_the_top_layer.rb +7 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list/date.rb +60 -0
- data/lib/tokyo_metro/factory/generate/api/meta_class/list/normal.rb +116 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/info.rb +27 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/mlit_station/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey/info.rb +16 -0
- data/lib/tokyo_metro/factory/generate/api/passenger_survey/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/point/info.rb +37 -0
- data/lib/tokyo_metro/factory/generate/api/point/info/title.rb +59 -0
- data/lib/tokyo_metro/factory/generate/api/point/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info.rb +39 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time/info.rb +12 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car/info.rb +31 -0
- data/lib/tokyo_metro/factory/generate/api/railway_line/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info.rb +56 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/common/info.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/exit.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/exit/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey/info.rb +10 -0
- data/lib/tokyo_metro/factory/generate/api/station/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info.rb +43 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info.rb +59 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility.rb +3 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/elevator.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator.rb +42 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/direction.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/info.rb +20 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/link_for_mobility_scooter.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/stairlift.rb +9 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet.rb +24 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet/assistant.rb +25 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail/info.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info.rb +32 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free/info.rb +8 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/info.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area/info.rb +8 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer/info.rb +14 -0
- data/lib/tokyo_metro/factory/generate/api/station_facility/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info.rb +45 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental/info.rb +18 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time/info.rb +30 -0
- data/lib/tokyo_metro/factory/generate/api/station_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_location/info.rb +35 -0
- data/lib/tokyo_metro/factory/generate/api/train_location/list.rb +64 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation/info.rb +24 -0
- data/lib/tokyo_metro/factory/generate/api/train_operation/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info.rb +69 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time/info.rb +29 -0
- data/lib/tokyo_metro/factory/generate/api/train_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/color.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/color/info.rb +111 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental.rb +73 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_hash.rb +28 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_list.rb +26 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash.rb +21 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash/each_file.rb +20 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls.rb +56 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls/each_file.rb +15 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info/fundamental.rb +66 -0
- data/lib/tokyo_metro/factory/generate/static/meta_class/info/normal.rb +33 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/operation_day/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/operator.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/operator/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/operator/info.rb +53 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/railway_direction/info.rb +9 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/railway_line/info.rb +47 -0
- data/lib/tokyo_metro/factory/generate/static/station.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line/info.rb +25 -0
- data/lib/tokyo_metro/factory/generate/static/station/railway_lines.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status/info.rb +13 -0
- data/lib/tokyo_metro/factory/generate/static/train_operation_status/list.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_owner/info.rb +34 -0
- data/lib/tokyo_metro/factory/generate/static/train_type.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/color/info.rb +27 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/info.rb +80 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash/each_file.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb +48 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator.rb +3 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash/each_file.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/info.rb +93 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api.rb +2 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api/hash.rb +4 -0
- data/lib/tokyo_metro/factory/generate/static/train_type/in_api/info.rb +9 -0
- data/lib/tokyo_metro/factory/get.rb +2 -0
- data/lib/tokyo_metro/factory/get/api.rb +3 -0
- data/lib/tokyo_metro/factory/get/api/data_search.rb +10 -0
- data/lib/tokyo_metro/factory/get/api/data_search/fare.rb +64 -0
- data/lib/tokyo_metro/factory/get/api/data_search/passenger_survey.rb +43 -0
- data/lib/tokyo_metro/factory/get/api/data_search/point.rb +39 -0
- data/lib/tokyo_metro/factory/get/api/data_search/railway_line.rb +45 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station.rb +48 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station_facility.rb +50 -0
- data/lib/tokyo_metro/factory/get/api/data_search/station_timetable.rb +45 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_location.rb +67 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_operation.rb +47 -0
- data/lib/tokyo_metro/factory/get/api/data_search/train_timetable.rb +63 -0
- data/lib/tokyo_metro/factory/get/api/geo.rb +10 -0
- data/lib/tokyo_metro/factory/get/api/geo/mlit_railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/mlit_station.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/point.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/railway_line.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/geo/station.rb +4 -0
- data/lib/tokyo_metro/factory/get/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/find.rb +19 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb +123 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator.rb +2 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array.rb +2 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/common.rb +24 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/find.rb +53 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb +13 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search.rb +25 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search/data_search.rb +29 -0
- data/lib/tokyo_metro/factory/get/api/meta_class/search/geo.rb +48 -0
- data/lib/tokyo_metro/factory/save.rb +2 -0
- data/lib/tokyo_metro/factory/save/api.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/fare/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/fare/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/fare/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file/data_search.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/each_file/fundamental.rb +122 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group.rb +133 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info.rb +48 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/alphabet.rb +17 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/date.rb +37 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/normal.rb +9 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/station_timetable.rb +9 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/train_timetable.rb +29 -0
- data/lib/tokyo_metro/factory/save/api/meta_class/group/list.rb +78 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/each_file.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group.rb +7 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/file_info.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/list.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/each_file.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group.rb +7 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group/file_info.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/mlit_station/group/list.rb +6 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/passenger_survey/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/point/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point/group.rb +55 -0
- data/lib/tokyo_metro/factory/save/api/point/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/point/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/railway_line/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/real_time_infos.rb +36 -0
- data/lib/tokyo_metro/factory/save/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_facility/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/station_timetable/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_location/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group.rb +18 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_location/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/each_file.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_operation/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/each_file.rb +5 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group.rb +4 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group/file_info.rb +3 -0
- data/lib/tokyo_metro/factory/save/api/train_timetable/group/list.rb +3 -0
- data/lib/tokyo_metro/factory/scss.rb +2 -0
- data/lib/tokyo_metro/factory/scss/train_type.rb +125 -0
- data/lib/tokyo_metro/factory/seed.rb +368 -0
- data/lib/tokyo_metro/factory/seed/api.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/fare.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/fare/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/fare/info.rb +36 -0
- data/lib/tokyo_metro/factory/seed/api/fare/list.rb +7 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/meta_class/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/passenger_survey/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/point.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/point/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/point/info.rb +86 -0
- data/lib/tokyo_metro/factory/seed/api/point/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/common.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/info.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/info.rb +37 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list/travel_time.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/railway_line/list/women_only_car.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/station.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station/info.rb +39 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/common/optional_variables.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/info.rb +19 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/exit/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station/list.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/common.rb +15 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/connecting_railway_line.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/exit.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station/list/link_to_passenger_survey.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/info.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +13 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/info.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/info.rb +79 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/common.rb +17 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/info.rb +47 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/info.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/list.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/info.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/set_optional_variables.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/info.rb +18 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/info.rb +30 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/barrier_free.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/common.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/station_facility/list/platform.rb +9 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/info.rb +29 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info.rb +175 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info/update_train_timetable.rb +81 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/list.rb +4 -0
- data/lib/tokyo_metro/factory/seed/api/station_timetable/list/train_times.rb +20 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time.rb +169 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/checker.rb +188 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable.rb +105 -0
- data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable/station_timetable_info.rb +65 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info.rb +102 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/common.rb +49 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/last_station_in_tokyo_metro.rb +69 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/romance_car.rb +105 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +31 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +8 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/optional_infos.rb +12 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +16 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times.rb +2 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/last_station_in_tokyo_metro.rb +11 -0
- data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/romance_car.rb +11 -0
- data/lib/tokyo_metro/factory/seed/common.rb +2 -0
- data/lib/tokyo_metro/factory/seed/common/group.rb +106 -0
- data/lib/tokyo_metro/factory/seed/common/hash.rb +29 -0
- data/lib/tokyo_metro/factory/seed/common/info.rb +46 -0
- data/lib/tokyo_metro/factory/seed/common/interruption.rb +39 -0
- data/lib/tokyo_metro/factory/seed/common/list.rb +48 -0
- data/lib/tokyo_metro/factory/seed/common/polymorphic.rb +2 -0
- data/lib/tokyo_metro/factory/seed/common/polymorphic/twitter_account.rb +20 -0
- data/lib/tokyo_metro/factory/seed/common/set_optional_variables.rb +17 -0
- data/lib/tokyo_metro/factory/seed/reference.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/info.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/service_detail_pattern.rb +22 -0
- data/lib/tokyo_metro/factory/seed/reference/dc_date.rb +9 -0
- data/lib/tokyo_metro/factory/seed/reference/dictionary.rb +2 -0
- data/lib/tokyo_metro/factory/seed/reference/dictionary/train_type.rb +25 -0
- data/lib/tokyo_metro/factory/seed/reference/from_and_to_station.rb +29 -0
- data/lib/tokyo_metro/factory/seed/reference/normal_fare_group.rb +25 -0
- data/lib/tokyo_metro/factory/seed/reference/operation_day.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/operator.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/passenger_survey.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/point.rb +26 -0
- data/lib/tokyo_metro/factory/seed/reference/railway_direction.rb +22 -0
- data/lib/tokyo_metro/factory/seed/reference/railway_line.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/station.rb +20 -0
- data/lib/tokyo_metro/factory/seed/reference/station_facility.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/surrounding_area.rb +13 -0
- data/lib/tokyo_metro/factory/seed/reference/train_name.rb +26 -0
- data/lib/tokyo_metro/factory/seed/reference/train_owner.rb +19 -0
- data/lib/tokyo_metro/factory/seed/reference/train_type.rb +23 -0
- data/lib/tokyo_metro/factory/seed/reference/train_type_in_api.rb +19 -0
- data/lib/tokyo_metro/factory/seed/static.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/common.rb +14 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/list.rb +6 -0
- data/lib/tokyo_metro/factory/seed/static/fare/normal/table/pattern.rb +25 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/hash.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/info.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/meta_class/list.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day.rb +21 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day/info.rb +11 -0
- data/lib/tokyo_metro/factory/seed/static/operation_day/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/operator.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/operator/hash.rb +19 -0
- data/lib/tokyo_metro/factory/seed/static/operator/info.rb +33 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction/hash.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/railway_direction/info.rb +44 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line/hash.rb +16 -0
- data/lib/tokyo_metro/factory/seed/static/railway_line/info.rb +87 -0
- data/lib/tokyo_metro/factory/seed/static/station.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/station/in_each_railway_line.rb +27 -0
- data/lib/tokyo_metro/factory/seed/static/station/info.rb +180 -0
- data/lib/tokyo_metro/factory/seed/static/station/optional_variables.rb +10 -0
- data/lib/tokyo_metro/factory/seed/static/station/railway_lines.rb +30 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status/info.rb +11 -0
- data/lib/tokyo_metro/factory/seed/static/train_operation_status/list.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner/hash.rb +3 -0
- data/lib/tokyo_metro/factory/seed/static/train_owner/info.rb +23 -0
- data/lib/tokyo_metro/factory/seed/static/train_type.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/hash.rb +17 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/info.rb +36 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api.rb +2 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api/hash.rb +5 -0
- data/lib/tokyo_metro/factory/seed/static/train_type/in_api/info.rb +21 -0
- data/lib/tokyo_metro/factory/yaml_station_list.rb +83 -0
- data/lib/tokyo_metro/factory/yaml_station_list/each_station.rb +117 -0
- data/lib/tokyo_metro/initializer.rb +2 -0
- data/lib/tokyo_metro/initializer/modules.rb +126 -0
- data/lib/tokyo_metro/initializer/rails.rb +38 -0
- data/lib/tokyo_metro/modules.rb +2 -0
- data/lib/tokyo_metro/modules/api.rb +3 -0
- data/lib/tokyo_metro/modules/api/common.rb +3 -0
- data/lib/tokyo_metro/modules/api/common/db_dirname.rb +21 -0
- data/lib/tokyo_metro/modules/api/common/not_real_time.rb +18 -0
- data/lib/tokyo_metro/modules/api/common/real_time.rb +22 -0
- data/lib/tokyo_metro/modules/api/info.rb +3 -0
- data/lib/tokyo_metro/modules/api/info/decision.rb +2 -0
- data/lib/tokyo_metro/modules/api/info/decision/actual_starting_station.rb +17 -0
- data/lib/tokyo_metro/modules/api/info/decision/actual_terminal_station.rb +18 -0
- data/lib/tokyo_metro/modules/api/info/decision/arrival_station.rb +15 -0
- data/lib/tokyo_metro/modules/api/info/decision/current_station.rb +12 -0
- data/lib/tokyo_metro/modules/api/info/decision/operated_section.rb +55 -0
- data/lib/tokyo_metro/modules/api/info/decision/railway_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/decision/starting_station.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/decision/terminal_station.rb +21 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_direction.rb +24 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_operation_day.rb +21 -0
- data/lib/tokyo_metro/modules/api/info/decision/train_type.rb +19 -0
- data/lib/tokyo_metro/modules/api/info/seed_completed.rb +22 -0
- data/lib/tokyo_metro/modules/api/info/set_data_to_hash.rb +19 -0
- data/lib/tokyo_metro/modules/api/info/to_json.rb +11 -0
- data/lib/tokyo_metro/modules/api/info/to_string_general.rb +14 -0
- data/lib/tokyo_metro/modules/api/info/to_string_with_array.rb +36 -0
- data/lib/tokyo_metro/modules/api/info/validity.rb +19 -0
- data/lib/tokyo_metro/modules/api/list.rb +5 -0
- data/lib/tokyo_metro/modules/api/list/selection.rb +2 -0
- data/lib/tokyo_metro/modules/api/list/selection/railway_lines.rb +65 -0
- data/lib/tokyo_metro/modules/api/to_factory.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line.rb +29 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line/info.rb +72 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line/info.rb +86 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car/info.rb +10 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car/info.rb +10 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line.rb +39 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/dictionary.rb +27 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +75 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time/info.rb +79 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time/list.rb +50 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi.rb +16 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/barrier_free/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/platform.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info/platform/info.rb +12 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +11 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin.rb +14 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info.rb +5 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time.rb +5 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time/info.rb +13 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line/info.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line/info.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line.rb +9 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate/list.rb +8 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/date.rb +51 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/normal.rb +51 -0
- data/lib/tokyo_metro/modules/api/to_factory/generate/group/train_location.rb +58 -0
- data/lib/tokyo_metro/modules/api/to_factory/get.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/get/geo.rb +32 -0
- data/lib/tokyo_metro/modules/api/to_factory/save.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/group.rb +3 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/group/normal.rb +21 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/info.rb +2 -0
- data/lib/tokyo_metro/modules/api/to_factory/save/info/data_search.rb +28 -0
- data/lib/tokyo_metro/modules/common.rb +2 -0
- data/lib/tokyo_metro/modules/common/convert_constant_to_class_method.rb +35 -0
- data/lib/tokyo_metro/modules/common/dictionary.rb +2 -0
- data/lib/tokyo_metro/modules/common/dictionary/barrier_free_facility.rb +7 -0
- data/lib/tokyo_metro/modules/common/dictionary/operation_day.rb +30 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line.rb +2 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/regexp_info.rb +74 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_info.rb +62 -0
- data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_list.rb +105 -0
- data/lib/tokyo_metro/modules/common/dictionary/romance_car.rb +26 -0
- data/lib/tokyo_metro/modules/common/dictionary/station.rb +71 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/regexp_info.rb +52 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/string_info.rb +45 -0
- data/lib/tokyo_metro/modules/common/dictionary/station/string_list.rb +505 -0
- data/lib/tokyo_metro/modules/common/info.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/decision.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/decision/actual_starting_station.rb +97 -0
- data/lib/tokyo_metro/modules/common/info/decision/actual_terminal_station.rb +104 -0
- data/lib/tokyo_metro/modules/common/info/decision/arrival_station.rb +41 -0
- data/lib/tokyo_metro/modules/common/info/decision/compare_base.rb +30 -0
- data/lib/tokyo_metro/modules/common/info/decision/current_station.rb +132 -0
- data/lib/tokyo_metro/modules/common/info/decision/operator.rb +19 -0
- data/lib/tokyo_metro/modules/common/info/decision/railway_line.rb +54 -0
- data/lib/tokyo_metro/modules/common/info/decision/romance_car.rb +28 -0
- data/lib/tokyo_metro/modules/common/info/decision/same_as.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/decision/starting_station.rb +106 -0
- data/lib/tokyo_metro/modules/common/info/decision/terminal_station.rb +109 -0
- data/lib/tokyo_metro/modules/common/info/decision/toei_mita_line.rb +60 -0
- data/lib/tokyo_metro/modules/common/info/decision/train_operation_day.rb +40 -0
- data/lib/tokyo_metro/modules/common/info/decision/train_type.rb +112 -0
- data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line.rb +45 -0
- data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line/set_time.rb +23 -0
- data/lib/tokyo_metro/modules/common/info/operator.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/railway_line.rb +21 -0
- data/lib/tokyo_metro/modules/common/info/railway_line/branch_line.rb +12 -0
- data/lib/tokyo_metro/modules/common/info/station.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station/connecting_railway_line.rb +31 -0
- data/lib/tokyo_metro/modules/common/info/station_facility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free.rb +15 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail/direction.rb +82 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/located_area.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/alias_towards_availability.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/all.rb +10 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/alias_towards_accessibility.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/none.rb +11 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/method_missing.rb +30 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/toilet_assistant.rb +110 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/alias_towards_availability.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/all.rb +14 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability.rb +2 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/alias_towards_accessibility.rb +7 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/escalator.rb +31 -0
- data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb +30 -0
- data/lib/tokyo_metro/modules/common/to_factory.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/generate/info.rb +24 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed.rb +2 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/group.rb +48 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/hash.rb +14 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/info.rb +22 -0
- data/lib/tokyo_metro/modules/common/to_factory/seed/list.rb +14 -0
- data/lib/tokyo_metro/modules/db.rb +2 -0
- data/lib/tokyo_metro/modules/db/decision.rb +2 -0
- data/lib/tokyo_metro/modules/db/decision/current_station.rb +9 -0
- data/lib/tokyo_metro/modules/db/decision/operator.rb +9 -0
- data/lib/tokyo_metro/modules/db/decision/railway_line.rb +13 -0
- data/lib/tokyo_metro/modules/db/decision/train_type.rb +19 -0
- data/lib/tokyo_metro/modules/db/model.rb +37 -0
- data/lib/tokyo_metro/modules/db/select.rb +2 -0
- data/lib/tokyo_metro/modules/db/select/operation_day.rb +28 -0
- data/lib/tokyo_metro/modules/static.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info/base.rb +16 -0
- data/lib/tokyo_metro/modules/static/get_background_color_info/each_rgb_element.rb +22 -0
- data/lib/tokyo_metro/modules/static/get_color_info.rb +3 -0
- data/lib/tokyo_metro/modules/static/get_color_info/base.rb +16 -0
- data/lib/tokyo_metro/modules/static/get_color_info/each_rgb_element.rb +22 -0
- data/lib/tokyo_metro/modules/static/get_name.rb +73 -0
- data/lib/tokyo_metro/modules/static/hash.rb +3 -0
- data/lib/tokyo_metro/modules/static/hash/define_test.rb +28 -0
- data/lib/tokyo_metro/modules/static/hash/make_scss.rb +35 -0
- data/lib/tokyo_metro/modules/static/hash/process_haml.rb +28 -0
- data/lib/tokyo_metro/modules/static/to_factory.rb +3 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate.rb +2 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group.rb +2 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group/multiple_yamls.rb +27 -0
- data/lib/tokyo_metro/modules/static/to_factory/generate/group/one_yaml.rb +27 -0
- data/lib/tokyo_metro/rake.rb +17 -0
- data/lib/tokyo_metro/rake/assets.rb +2 -0
- data/lib/tokyo_metro/rake/assets/image.rb +2 -0
- data/lib/tokyo_metro/rake/assets/image/svg_files.rb +19 -0
- data/lib/tokyo_metro/rake/assets/image/svg_files/each_file.rb +72 -0
- data/lib/tokyo_metro/rake/assets/sass.rb +2 -0
- data/lib/tokyo_metro/rake/assets/sass/make.rb +49 -0
- data/lib/tokyo_metro/rake/bug_fix.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail.rb +2 -0
- data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail/pattern.rb +104 -0
- data/lib/tokyo_metro/rake/check_namespace.rb +2 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table.rb +17 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace.rb +92 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/match_group.rb +22 -0
- data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/matched_row.rb +30 -0
- data/lib/tokyo_metro/rake/debug.rb +2 -0
- data/lib/tokyo_metro/rake/debug/station_facility.rb +88 -0
- data/lib/tokyo_metro/rake/log.rb +2 -0
- data/lib/tokyo_metro/rake/log/finder.rb +17 -0
- data/lib/tokyo_metro/rake/rails.rb +2 -0
- data/lib/tokyo_metro/rake/rails/deploy.rb +2 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku.rb +61 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv.rb +29 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command.rb +15 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/export_from_sqlite.rb +34 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_postgresql.rb +22 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_sqlite.rb +29 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class.rb +67 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class/table.rb +19 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/file_info.rb +8 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/migration_file.rb +26 -0
- data/lib/tokyo_metro/rake/rails/deploy/heroku/schema_file.rb +17 -0
- data/lib/tokyo_metro/rake/update.rb +2 -0
- data/lib/tokyo_metro/rake/update/connecting_railway_line.rb +2 -0
- data/lib/tokyo_metro/rake/update/connecting_railway_line/nakano_sakaue.rb +111 -0
- data/lib/tokyo_metro/refinement.rb +2 -0
- data/lib/tokyo_metro/refinement/api.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/info.rb +19 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/list.rb +25 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/optional_info_id.rb +36 -0
- data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/terminal_stations_same_as.rb +15 -0
- data/lib/tokyo_metro/refinement/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/refinement/api/train_timetable/info.rb +2 -0
- data/lib/tokyo_metro/refinement/api/train_timetable/info/match.rb +18 -0
- data/lib/tokyo_metro/required.rb +16 -0
- data/lib/tokyo_metro/required/all.rb +82 -0
- data/lib/tokyo_metro/required/all/api.rb +48 -0
- data/lib/tokyo_metro/required/all/api/meta_class.rb +19 -0
- data/lib/tokyo_metro/required/all/api/point.rb +14 -0
- data/lib/tokyo_metro/required/all/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_facility.rb +11 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info.rb +15 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free.rb +12 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +13 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info/common.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info.rb +14 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time.rb +14 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note.rb +16 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/starting_station.rb +13 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +15 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +2 -0
- data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +30 -0
- data/lib/tokyo_metro/required/all/api/station_train_time.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_location.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_operation.rb +2 -0
- data/lib/tokyo_metro/required/all/api/train_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation.rb +11 -0
- data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +13 -0
- data/lib/tokyo_metro/required/all/app.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer.rb +16 -0
- data/lib/tokyo_metro/required/all/app/renderer/concern.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/header.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/header/title.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/normal.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page.rb +11 -0
- data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/document.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/side_menu.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/link.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/link/to_main_content.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/side_menu/now_developing.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info.rb +19 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row.rb +10 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +8 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/normal.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/station_link_list.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/meta_class.rb +9 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line.rb +7 -0
- data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
- data/lib/tokyo_metro/required/all/app/renderer/twitter.rb +2 -0
- data/lib/tokyo_metro/required/all/class_name_library.rb +7 -0
- data/lib/tokyo_metro/required/all/class_name_library/api.rb +7 -0
- data/lib/tokyo_metro/required/all/class_name_library/api/station_train_time.rb +2 -0
- data/lib/tokyo_metro/required/all/document.rb +2 -0
- data/lib/tokyo_metro/required/all/factory.rb +26 -0
- data/lib/tokyo_metro/required/all/factory/before_decorate.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/before_seed.rb +6 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class/timetables.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/common.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/convert/common.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api.rb +17 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/fundamental.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_infos.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/common/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api.rb +19 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/fare.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_facility.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_location.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_timetable.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/dictionary.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch.rb +14 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info/station_time.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/convert/patch/for_string.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/decorate.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/decorate/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/decorate/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info.rb +10 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/list.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/list.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate/static.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/color.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/meta_class/group.rb +9 -0
- data/lib/tokyo_metro/required/all/factory/generate/static/train_type.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/get.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/get/api.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator/new_array.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/save.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/save/api.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/save/api/meta_class.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/scss.rb +16 -0
- data/lib/tokyo_metro/required/all/factory/seed.rb +12 -0
- data/lib/tokyo_metro/required/all/factory/seed/api.rb +13 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station.rb +14 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free.rb +11 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/list.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/station_timetable.rb +15 -0
- data/lib/tokyo_metro/required/all/factory/seed/api/train_timetable.rb +19 -0
- data/lib/tokyo_metro/required/all/factory/seed/common.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/reference.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/seed/static.rb +12 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/meta_class.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/operator.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/railway_line.rb +2 -0
- data/lib/tokyo_metro/required/all/factory/seed/static/station.rb +7 -0
- data/lib/tokyo_metro/required/all/factory/yaml_station_list.rb +2 -0
- data/lib/tokyo_metro/required/all/initializer.rb +2 -0
- data/lib/tokyo_metro/required/all/modules.rb +16 -0
- data/lib/tokyo_metro/required/all/modules/api.rb +2 -0
- data/lib/tokyo_metro/required/all/modules/common.rb +20 -0
- data/lib/tokyo_metro/required/all/others.rb +29 -0
- data/lib/tokyo_metro/required/all/rake.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv.rb +7 -0
- data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv/command.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement/api.rb +7 -0
- data/lib/tokyo_metro/required/all/refinement/api/station_timetable.rb +14 -0
- data/lib/tokyo_metro/required/all/search.rb +2 -0
- data/lib/tokyo_metro/required/all/static.rb +14 -0
- data/lib/tokyo_metro/required/all/static/except_for_train_type.rb +34 -0
- data/lib/tokyo_metro/required/all/static/train_type.rb +26 -0
- data/lib/tokyo_metro/required/all/temp_lib.rb +2 -0
- data/lib/tokyo_metro/required/all/test.rb +2 -0
- data/lib/tokyo_metro/search.rb +3 -0
- data/lib/tokyo_metro/search/railway_line.rb +84 -0
- data/lib/tokyo_metro/static.rb +65 -0
- data/lib/tokyo_metro/static/color.rb +71 -0
- data/lib/tokyo_metro/static/fare.rb +21 -0
- data/lib/tokyo_metro/static/fare/normal.rb +70 -0
- data/lib/tokyo_metro/static/fare/normal/table.rb +84 -0
- data/lib/tokyo_metro/static/fare/normal/table/list.rb +46 -0
- data/lib/tokyo_metro/static/fare/normal/table/pattern.rb +177 -0
- data/lib/tokyo_metro/static/fundamental.rb +3 -0
- data/lib/tokyo_metro/static/fundamental/hash.rb +4 -0
- data/lib/tokyo_metro/static/fundamental/meta_class.rb +3 -0
- data/lib/tokyo_metro/static/fundamental/meta_class/using_multiple_yamls.rb +4 -0
- data/lib/tokyo_metro/static/fundamental/meta_class/using_one_yaml.rb +4 -0
- data/lib/tokyo_metro/static/operation_day.rb +28 -0
- data/lib/tokyo_metro/static/operation_day/info.rb +32 -0
- data/lib/tokyo_metro/static/operation_day/list.rb +15 -0
- data/lib/tokyo_metro/static/operator.rb +12 -0
- data/lib/tokyo_metro/static/operator/hash.rb +20 -0
- data/lib/tokyo_metro/static/operator/info.rb +646 -0
- data/lib/tokyo_metro/static/railway_direction.rb +12 -0
- data/lib/tokyo_metro/static/railway_direction/hash.rb +7 -0
- data/lib/tokyo_metro/static/railway_direction/info.rb +19 -0
- data/lib/tokyo_metro/static/railway_line.rb +16 -0
- data/lib/tokyo_metro/static/railway_line/hash.rb +32 -0
- data/lib/tokyo_metro/static/railway_line/info.rb +1755 -0
- data/lib/tokyo_metro/static/station.rb +12 -0
- data/lib/tokyo_metro/static/station/in_each_railway_line.rb +24 -0
- data/lib/tokyo_metro/static/station/in_each_railway_line/info.rb +128 -0
- data/lib/tokyo_metro/static/station/railway_lines.rb +64 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro.rb +12 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro/hash.rb +26 -0
- data/lib/tokyo_metro/static/stations_in_tokyo_metro/info.rb +302 -0
- data/lib/tokyo_metro/static/stopping_pattern.rb +5 -0
- data/lib/tokyo_metro/static/train_operation_status.rb +15 -0
- data/lib/tokyo_metro/static/train_operation_status/info.rb +15 -0
- data/lib/tokyo_metro/static/train_operation_status/list.rb +6 -0
- data/lib/tokyo_metro/static/train_owner.rb +12 -0
- data/lib/tokyo_metro/static/train_owner/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_owner/info.rb +374 -0
- data/lib/tokyo_metro/static/train_type.rb +27 -0
- data/lib/tokyo_metro/static/train_type/color.rb +4 -0
- data/lib/tokyo_metro/static/train_type/color/hash.rb +3 -0
- data/lib/tokyo_metro/static/train_type/color/info.rb +87 -0
- data/lib/tokyo_metro/static/train_type/custom.rb +3 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting/hash.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/default_setting/info.rb +65 -0
- data/lib/tokyo_metro/static/train_type/custom/main.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/main/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_type/custom/main/info.rb +55 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator/hash.rb +4 -0
- data/lib/tokyo_metro/static/train_type/custom/other_operator/info.rb +259 -0
- data/lib/tokyo_metro/static/train_type/in_api.rb +4 -0
- data/lib/tokyo_metro/static/train_type/in_api/hash.rb +7 -0
- data/lib/tokyo_metro/static/train_type/in_api/info.rb +220 -0
- data/lib/tokyo_metro/temp_lib.rb +2 -0
- data/lib/tokyo_metro/temp_lib/railway_line_array_module.rb +60 -0
- data/lib/tokyo_metro/test.rb +2 -0
- data/lib/tokyo_metro/test/api.rb +2 -0
- data/lib/tokyo_metro/test/api/train_timetable.rb +62 -0
- data/lib/tokyo_metro/test/api/train_timetable/train_info.rb +83 -0
- data/lib/tokyo_metro/version.rb +3 -0
- data/rake/count_rows.rb +47 -0
- data/rake/get_and_save_datas_from_api.rake +74 -0
- data/rake/list_up.rake +29 -0
- data/rake/load.rake +15 -0
- data/rake/loop.rb +10 -0
- data/rake/make.rake +71 -0
- data/rake/output.rake +12 -0
- data/rake/process.rake +56 -0
- data/rake/rename_table.rb +23 -0
- data/rake/test/check.rake +37 -0
- data/rake/test/define.rake +58 -0
- data/rake/test/get.rake +140 -0
- data/rake/test/save.rake +21 -0
- data/tokyo_metro.gemspec +51 -0
- metadata +2163 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
# 方面の情報を扱うクラス
|
2
|
+
class TokyoMetro::Static::RailwayDirection < TokyoMetro::Static::Fundamental::MetaClass::UsingOneYaml
|
3
|
+
|
4
|
+
include TokyoMetro::ClassNameLibrary::Static::RailwayDirection
|
5
|
+
|
6
|
+
# 定数を設定するクラスメソッド
|
7
|
+
# @return [nil]
|
8
|
+
def self.set_constant
|
9
|
+
::TokyoMetro::Static.const_set( :RAILWAY_DIRECTIONS , self.generate_from_yaml )
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# 方面の情報を扱うクラス
|
2
|
+
class TokyoMetro::Static::RailwayDirection::Info
|
3
|
+
|
4
|
+
include ::TokyoMetro::ClassNameLibrary::Static::RailwayDirection
|
5
|
+
include ::TokyoMetro::Modules::Common::ToFactory::Generate::Info
|
6
|
+
include ::TokyoMetro::Modules::Common::ToFactory::Seed::Info
|
7
|
+
|
8
|
+
def initialize( same_as , in_api_same_as , railway_line , railway_direction_code , station )
|
9
|
+
raise "Error" unless /\Aodpt.Station:/ === station
|
10
|
+
@same_as = same_as
|
11
|
+
@in_api_same_as = in_api_same_as
|
12
|
+
@railway_line = railway_line
|
13
|
+
@railway_direction_code = railway_direction_code
|
14
|
+
@station = station
|
15
|
+
end
|
16
|
+
|
17
|
+
attr_reader :same_as , :in_api_same_as , :railway_line , :railway_direction_code , :station
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# 路線の情報を扱うクラス
|
2
|
+
class TokyoMetro::Static::RailwayLine < TokyoMetro::Static::Fundamental::MetaClass::UsingOneYaml
|
3
|
+
|
4
|
+
include ::TokyoMetro::ClassNameLibrary::Static::RailwayLine
|
5
|
+
|
6
|
+
# @!group 路線のリスト
|
7
|
+
|
8
|
+
# 定数を設定するクラスメソッド
|
9
|
+
# @return [nil]
|
10
|
+
def self.set_constant
|
11
|
+
::TokyoMetro::Static.const_set( :RAILWAY_LINES , self.generate_from_yaml )
|
12
|
+
end
|
13
|
+
|
14
|
+
# @!endgroup
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# 複数の路線の情報を扱うクラス(ハッシュ)
|
2
|
+
class TokyoMetro::Static::RailwayLine::Hash < ::TokyoMetro::Static::Fundamental::Hash
|
3
|
+
|
4
|
+
include ::TokyoMetro::ClassNameLibrary::Static::RailwayLine
|
5
|
+
include ::TokyoMetro::Modules::Common::ToFactory::Seed::Hash
|
6
|
+
|
7
|
+
# 与えられた路線名の文字列から色を取得するメソッド
|
8
|
+
# @param str [String] 路線名の文字列
|
9
|
+
# @return [::TokyoMetro::Static::Color]
|
10
|
+
def select_main_color( str )
|
11
|
+
if self.keys.include?( str )
|
12
|
+
return self[ str ].color.first
|
13
|
+
else
|
14
|
+
#---- 末尾が数字の場合 ここから
|
15
|
+
if /\A(odpt\.Railway\:[a-zA-Z\-\.]+)\.(\d+?)\Z/ =~ str
|
16
|
+
str , num = $1 , $2.to_i
|
17
|
+
# 文字列部分が self の key である場合
|
18
|
+
if self.keys.include?( str )
|
19
|
+
color_info = self[ str ].color
|
20
|
+
if color_info.instance_of?( ::Array ) and num <= color_info.length
|
21
|
+
return color_info[ num - 1 ]
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
#---- 末尾が数字の場合 ここまで
|
26
|
+
end
|
27
|
+
puts self.keys
|
28
|
+
puts ""
|
29
|
+
raise "Error: \"#{str}\" is not valid."
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
@@ -0,0 +1,1755 @@
|
|
1
|
+
# 個別の路線の情報を扱うクラス
|
2
|
+
class TokyoMetro::Static::RailwayLine::Info
|
3
|
+
|
4
|
+
include ::TokyoMetro::ClassNameLibrary::Static::RailwayLine
|
5
|
+
include ::TokyoMetro::Modules::Common::ToFactory::Generate::Info
|
6
|
+
include ::TokyoMetro::Modules::Common::ToFactory::Seed::Info
|
7
|
+
include ::TokyoMetro::Modules::Static::GetName
|
8
|
+
|
9
|
+
include ::TokyoMetro::Modules::Common::Info::Decision::SameAs
|
10
|
+
include ::TokyoMetro::Modules::Common::Info::Decision::Operator
|
11
|
+
include ::TokyoMetro::Modules::Common::Info::RailwayLine
|
12
|
+
include ::TokyoMetro::Modules::Common::Info::RailwayLine::BranchLine
|
13
|
+
include ::TokyoMetro::Modules::Common::Info::NewAndOldRailwayLine
|
14
|
+
|
15
|
+
# Constructor
|
16
|
+
# @param same_as [::String]
|
17
|
+
# @param name_ja [::Array <::String>]
|
18
|
+
# @param name_hira
|
19
|
+
# @param name_en [::Array <::String>]
|
20
|
+
# @param name_code
|
21
|
+
# @param operator [::TokyoMetro::Static::Operator::Info]
|
22
|
+
# @param index [::Numeric]
|
23
|
+
# @param color
|
24
|
+
def initialize( same_as , name_ja , name_hira , name_en , name_code , operator , index , color , start_on , end_on , twitter_widget_id , twitter_account_name )
|
25
|
+
@same_as = same_as
|
26
|
+
@name_ja = name_ja
|
27
|
+
@name_hira = name_hira
|
28
|
+
@name_en = name_en
|
29
|
+
@name_code = name_code
|
30
|
+
@index = index
|
31
|
+
@color = color
|
32
|
+
@operator = operator
|
33
|
+
|
34
|
+
@start_on = start_on
|
35
|
+
@end_on = end_on
|
36
|
+
|
37
|
+
@twitter_widget_id = twitter_widget_id
|
38
|
+
@twitter_account_name = twitter_account_name
|
39
|
+
end
|
40
|
+
|
41
|
+
attr_reader :start_on
|
42
|
+
attr_reader :twitter_widget_id
|
43
|
+
attr_reader :twitter_account_name
|
44
|
+
|
45
|
+
# インスタンスの比較に用いるメソッド
|
46
|
+
# @return [Integer]
|
47
|
+
def <=>( other )
|
48
|
+
if @operator.same_as?( other.operator.same_as )
|
49
|
+
@index <=> other.index
|
50
|
+
else
|
51
|
+
@operator <=> other.operator
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# インスタンスの情報を文字列にして返すメソッド
|
56
|
+
# @return [String]
|
57
|
+
def to_s( indent = 0 )
|
58
|
+
str_1 = self.instance_variables.map { |v|
|
59
|
+
k = v.to_s.gsub( /\A\@/ , "" ).ljust(32)
|
60
|
+
val = self.instance_variable_get(v)
|
61
|
+
|
62
|
+
if v == :@operator
|
63
|
+
val = "\n" + val.to_s( indent + 2 )
|
64
|
+
elsif val.instance_of?( ::Array )
|
65
|
+
val = val.join("/")
|
66
|
+
else
|
67
|
+
val = val.to_s
|
68
|
+
end
|
69
|
+
|
70
|
+
" " * indent + k + val
|
71
|
+
}.join( "\n" )
|
72
|
+
|
73
|
+
str_2 = [ :name_ja_with_operator_name , :name_en_with_operator_name , :css_class_name ].map { |v|
|
74
|
+
k = v.to_s.ljust(32)
|
75
|
+
val = self.__send__(v)
|
76
|
+
" " * indent + k + val
|
77
|
+
}.join( "\n" )
|
78
|
+
|
79
|
+
[ "=" * 96 , str_1 , "-" * 96 , str_2 ].join( "\n" )
|
80
|
+
end
|
81
|
+
|
82
|
+
# @!group 路線の ID に関するメソッド
|
83
|
+
|
84
|
+
# @return [::String] 路線の ID キー
|
85
|
+
# @example
|
86
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as }
|
87
|
+
# =>
|
88
|
+
# odpt.Railway:TokyoMetro.Ginza
|
89
|
+
# odpt.Railway:TokyoMetro.Marunouchi
|
90
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch
|
91
|
+
# odpt.Railway:TokyoMetro.Hibiya
|
92
|
+
# odpt.Railway:TokyoMetro.Tozai
|
93
|
+
# odpt.Railway:TokyoMetro.Chiyoda
|
94
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch
|
95
|
+
# odpt.Railway:TokyoMetro.Yurakucho
|
96
|
+
# odpt.Railway:TokyoMetro.Hanzomon
|
97
|
+
# odpt.Railway:TokyoMetro.Namboku
|
98
|
+
# odpt.Railway:TokyoMetro.Fukutoshin
|
99
|
+
# odpt.Railway:Toei.Asakusa
|
100
|
+
# odpt.Railway:Toei.Mita
|
101
|
+
# odpt.Railway:Toei.Shinjuku
|
102
|
+
# odpt.Railway:Toei.Oedo
|
103
|
+
# odpt.Railway:Toei.NipporiToneri
|
104
|
+
# odpt.Railway:Toei.TodenArakawa
|
105
|
+
# odpt.Railway:JR-East
|
106
|
+
# odpt.Railway:JR-East.Yamanote
|
107
|
+
# odpt.Railway:JR-East.KeihinTohoku
|
108
|
+
# odpt.Railway:JR-East.Tokaido
|
109
|
+
# odpt.Railway:JR-East.Yokosuka
|
110
|
+
# odpt.Railway:JR-East.Takasaki
|
111
|
+
# odpt.Railway:JR-East.Utsunomiya
|
112
|
+
# odpt.Railway:JR-East.ShonanShinjuku
|
113
|
+
# odpt.Railway:JR-East.UenoTokyo
|
114
|
+
# odpt.Railway:JR-East.Chuo
|
115
|
+
# odpt.Railway:JR-East.ChuoKaisoku
|
116
|
+
# odpt.Railway:JR-East.ChuoSobu
|
117
|
+
# odpt.Railway:JR-East.ChuoTozai
|
118
|
+
# odpt.Railway:JR-East.SobuTozai
|
119
|
+
# odpt.Railway:JR-East.Sobu
|
120
|
+
# odpt.Railway:JR-East.NaritaExpress
|
121
|
+
# odpt.Railway:JR-East.Saikyo
|
122
|
+
# odpt.Railway:JR-East.Joban
|
123
|
+
# odpt.Railway:JR-East.Keiyo
|
124
|
+
# odpt.Railway:JR-East.Musashino
|
125
|
+
# odpt.Railway:JR-East.Shinkansen
|
126
|
+
# odpt.Railway:JR-Central.Shinkansen
|
127
|
+
# odpt.Railway:Tokyu.Toyoko
|
128
|
+
# odpt.Railway:Tokyu.Meguro
|
129
|
+
# odpt.Railway:Tokyu.DenEnToshi
|
130
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai
|
131
|
+
# odpt.Railway:Odakyu.Odawara
|
132
|
+
# odpt.Railway:Odakyu.Tama
|
133
|
+
# odpt.Railway:Odakyu.Enoshima
|
134
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide
|
135
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide
|
136
|
+
# odpt.Railway:Seibu.Ikebukuro
|
137
|
+
# odpt.Railway:Seibu.SeibuChichibu
|
138
|
+
# odpt.Railway:Seibu.Toshima
|
139
|
+
# odpt.Railway:Seibu.Sayama
|
140
|
+
# odpt.Railway:Seibu.SeibuYurakucho
|
141
|
+
# odpt.Railway:Seibu.Shinjuku
|
142
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki
|
143
|
+
# odpt.Railway:Tobu.SkyTreeOshiage
|
144
|
+
# odpt.Railway:Tobu.SkyTree
|
145
|
+
# odpt.Railway:Tobu.Isesaki
|
146
|
+
# odpt.Railway:Tobu.Nikko
|
147
|
+
# odpt.Railway:Tobu.Kinugawa
|
148
|
+
# odpt.Railway:Tobu.Tojo
|
149
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway
|
150
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway
|
151
|
+
# odpt.Railway:Keio.Keio
|
152
|
+
# odpt.Railway:Keio.New
|
153
|
+
# odpt.Railway:Keio.Inokashira
|
154
|
+
# odpt.Railway:Keisei.KeiseiMain
|
155
|
+
# odpt.Railway:Keisei.KeiseiOshiage
|
156
|
+
# odpt.Railway:MIR.TX
|
157
|
+
# odpt.Railway:Yurikamome.Yurikamome
|
158
|
+
# odpt.Railway:TWR.Rinkai
|
159
|
+
attr_reader :same_as
|
160
|
+
|
161
|
+
# @!group 路線の記号・番号に関するメソッド
|
162
|
+
|
163
|
+
# @return [::Array <::String>] 路線記号
|
164
|
+
# @example
|
165
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_code }
|
166
|
+
# =>
|
167
|
+
# odpt.Railway:TokyoMetro.Ginza : ["G"]
|
168
|
+
# odpt.Railway:TokyoMetro.Marunouchi : ["M"]
|
169
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : ["m"]
|
170
|
+
# odpt.Railway:TokyoMetro.Hibiya : ["H"]
|
171
|
+
# odpt.Railway:TokyoMetro.Tozai : ["T"]
|
172
|
+
# odpt.Railway:TokyoMetro.Chiyoda : ["C"]
|
173
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : ["C"]
|
174
|
+
# odpt.Railway:TokyoMetro.Yurakucho : ["Y"]
|
175
|
+
# odpt.Railway:TokyoMetro.Hanzomon : ["Z"]
|
176
|
+
# odpt.Railway:TokyoMetro.Namboku : ["N"]
|
177
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : ["F"]
|
178
|
+
# odpt.Railway:Toei.Asakusa : ["A"]
|
179
|
+
# odpt.Railway:Toei.Mita : ["I"]
|
180
|
+
# odpt.Railway:Toei.Shinjuku : ["S"]
|
181
|
+
# odpt.Railway:Toei.Oedo : ["E"]
|
182
|
+
# odpt.Railway:Toei.NipporiToneri : []
|
183
|
+
# odpt.Railway:Toei.TodenArakawa : []
|
184
|
+
# odpt.Railway:JR-East : []
|
185
|
+
# odpt.Railway:JR-East.Yamanote : []
|
186
|
+
# odpt.Railway:JR-East.KeihinTohoku : []
|
187
|
+
# odpt.Railway:JR-East.Tokaido : []
|
188
|
+
# odpt.Railway:JR-East.Yokosuka : []
|
189
|
+
# odpt.Railway:JR-East.Takasaki : []
|
190
|
+
# odpt.Railway:JR-East.Utsunomiya : []
|
191
|
+
# odpt.Railway:JR-East.ShonanShinjuku : []
|
192
|
+
# odpt.Railway:JR-East.UenoTokyo : []
|
193
|
+
# odpt.Railway:JR-East.Chuo : []
|
194
|
+
# odpt.Railway:JR-East.ChuoKaisoku : []
|
195
|
+
# odpt.Railway:JR-East.ChuoSobu : []
|
196
|
+
# odpt.Railway:JR-East.ChuoTozai : []
|
197
|
+
# odpt.Railway:JR-East.SobuTozai : []
|
198
|
+
# odpt.Railway:JR-East.Sobu : []
|
199
|
+
# odpt.Railway:JR-East.NaritaExpress : []
|
200
|
+
# odpt.Railway:JR-East.Saikyo : []
|
201
|
+
# odpt.Railway:JR-East.Joban : []
|
202
|
+
# odpt.Railway:JR-East.Keiyo : []
|
203
|
+
# odpt.Railway:JR-East.Musashino : []
|
204
|
+
# odpt.Railway:JR-East.Shinkansen : []
|
205
|
+
# odpt.Railway:JR-Central.Shinkansen : []
|
206
|
+
# odpt.Railway:Tokyu.Toyoko : ["TY"]
|
207
|
+
# odpt.Railway:Tokyu.Meguro : ["MG"]
|
208
|
+
# odpt.Railway:Tokyu.DenEnToshi : ["DT"]
|
209
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : ["MM"]
|
210
|
+
# odpt.Railway:Odakyu.Odawara : ["OH"]
|
211
|
+
# odpt.Railway:Odakyu.Tama : ["OT"]
|
212
|
+
# odpt.Railway:Odakyu.Enoshima : ["OE"]
|
213
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : ["OH"]
|
214
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : ["OH"]
|
215
|
+
# odpt.Railway:Seibu.Ikebukuro : ["SI"]
|
216
|
+
# odpt.Railway:Seibu.SeibuChichibu : ["SI"]
|
217
|
+
# odpt.Railway:Seibu.Toshima : ["SI"]
|
218
|
+
# odpt.Railway:Seibu.Sayama : ["SY"]
|
219
|
+
# odpt.Railway:Seibu.SeibuYurakucho : ["SI"]
|
220
|
+
# odpt.Railway:Seibu.Shinjuku : ["SS"]
|
221
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : ["TS", "TI"]
|
222
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : ["TS"]
|
223
|
+
# odpt.Railway:Tobu.SkyTree : ["TS"]
|
224
|
+
# odpt.Railway:Tobu.Isesaki : ["TI"]
|
225
|
+
# odpt.Railway:Tobu.Nikko : ["TN"]
|
226
|
+
# odpt.Railway:Tobu.Kinugawa : ["TN"]
|
227
|
+
# odpt.Railway:Tobu.Tojo : ["TJ"]
|
228
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : []
|
229
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : ["TR"]
|
230
|
+
# odpt.Railway:Keio.Keio : ["KO"]
|
231
|
+
# odpt.Railway:Keio.New : ["KO"]
|
232
|
+
# odpt.Railway:Keio.Inokashira : ["IK"]
|
233
|
+
# odpt.Railway:Keisei.KeiseiMain : ["KS"]
|
234
|
+
# odpt.Railway:Keisei.KeiseiOshiage : ["KS"]
|
235
|
+
# odpt.Railway:MIR.TX : []
|
236
|
+
# odpt.Railway:Yurikamome.Yurikamome : ["U"]
|
237
|
+
# odpt.Railway:TWR.Rinkai : []
|
238
|
+
attr_reader :name_code
|
239
|
+
|
240
|
+
# 標準の路線記号を取得するメソッド
|
241
|
+
# @return [::String or nil]
|
242
|
+
# @example
|
243
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_code_normal }
|
244
|
+
# =>
|
245
|
+
# odpt.Railway:TokyoMetro.Ginza : G
|
246
|
+
# odpt.Railway:TokyoMetro.Marunouchi : M
|
247
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : m
|
248
|
+
# odpt.Railway:TokyoMetro.Hibiya : H
|
249
|
+
# odpt.Railway:TokyoMetro.Tozai : T
|
250
|
+
# odpt.Railway:TokyoMetro.Chiyoda : C
|
251
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : C
|
252
|
+
# odpt.Railway:TokyoMetro.Yurakucho : Y
|
253
|
+
# odpt.Railway:TokyoMetro.Hanzomon : Z
|
254
|
+
# odpt.Railway:TokyoMetro.Namboku : N
|
255
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : F
|
256
|
+
# odpt.Railway:Toei.Asakusa : A
|
257
|
+
# odpt.Railway:Toei.Mita : I
|
258
|
+
# odpt.Railway:Toei.Shinjuku : S
|
259
|
+
# odpt.Railway:Toei.Oedo : E
|
260
|
+
# odpt.Railway:Toei.NipporiToneri : (nil)
|
261
|
+
# odpt.Railway:Toei.TodenArakawa : (nil)
|
262
|
+
# odpt.Railway:JR-East : (nil)
|
263
|
+
# odpt.Railway:JR-East.Yamanote : (nil)
|
264
|
+
# odpt.Railway:JR-East.KeihinTohoku : (nil)
|
265
|
+
# odpt.Railway:JR-East.Tokaido : (nil)
|
266
|
+
# odpt.Railway:JR-East.Yokosuka : (nil)
|
267
|
+
# odpt.Railway:JR-East.Takasaki : (nil)
|
268
|
+
# odpt.Railway:JR-East.Utsunomiya : (nil)
|
269
|
+
# odpt.Railway:JR-East.ShonanShinjuku : (nil)
|
270
|
+
# odpt.Railway:JR-East.UenoTokyo : (nil)
|
271
|
+
# odpt.Railway:JR-East.Chuo : (nil)
|
272
|
+
# odpt.Railway:JR-East.ChuoKaisoku : (nil)
|
273
|
+
# odpt.Railway:JR-East.ChuoSobu : (nil)
|
274
|
+
# odpt.Railway:JR-East.ChuoTozai : (nil)
|
275
|
+
# odpt.Railway:JR-East.SobuTozai : (nil)
|
276
|
+
# odpt.Railway:JR-East.Sobu : (nil)
|
277
|
+
# odpt.Railway:JR-East.NaritaExpress : (nil)
|
278
|
+
# odpt.Railway:JR-East.Saikyo : (nil)
|
279
|
+
# odpt.Railway:JR-East.Joban : (nil)
|
280
|
+
# odpt.Railway:JR-East.Keiyo : (nil)
|
281
|
+
# odpt.Railway:JR-East.Musashino : (nil)
|
282
|
+
# odpt.Railway:JR-East.Shinkansen : (nil)
|
283
|
+
# odpt.Railway:JR-Central.Shinkansen : (nil)
|
284
|
+
# odpt.Railway:Tokyu.Toyoko : TY
|
285
|
+
# odpt.Railway:Tokyu.Meguro : MG
|
286
|
+
# odpt.Railway:Tokyu.DenEnToshi : DT
|
287
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : MM
|
288
|
+
# odpt.Railway:Odakyu.Odawara : OH
|
289
|
+
# odpt.Railway:Odakyu.Tama : OT
|
290
|
+
# odpt.Railway:Odakyu.Enoshima : OE
|
291
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : OH
|
292
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : OH
|
293
|
+
# odpt.Railway:Seibu.Ikebukuro : SI
|
294
|
+
# odpt.Railway:Seibu.SeibuChichibu : SI
|
295
|
+
# odpt.Railway:Seibu.Toshima : SI
|
296
|
+
# odpt.Railway:Seibu.Sayama : SY
|
297
|
+
# odpt.Railway:Seibu.SeibuYurakucho : SI
|
298
|
+
# odpt.Railway:Seibu.Shinjuku : SS
|
299
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : TS
|
300
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : TS
|
301
|
+
# odpt.Railway:Tobu.SkyTree : TS
|
302
|
+
# odpt.Railway:Tobu.Isesaki : TI
|
303
|
+
# odpt.Railway:Tobu.Nikko : TN
|
304
|
+
# odpt.Railway:Tobu.Kinugawa : TN
|
305
|
+
# odpt.Railway:Tobu.Tojo : TJ
|
306
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : (nil)
|
307
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : TR
|
308
|
+
# odpt.Railway:Keio.Keio : KO
|
309
|
+
# odpt.Railway:Keio.New : KO
|
310
|
+
# odpt.Railway:Keio.Inokashira : IK
|
311
|
+
# odpt.Railway:Keisei.KeiseiMain : KS
|
312
|
+
# odpt.Railway:Keisei.KeiseiOshiage : KS
|
313
|
+
# odpt.Railway:MIR.TX : (nil)
|
314
|
+
# odpt.Railway:Yurikamome.Yurikamome : U
|
315
|
+
# odpt.Railway:TWR.Rinkai : (nil)
|
316
|
+
def name_code_normal
|
317
|
+
get_name( @name_code , allow_nil: true )
|
318
|
+
end
|
319
|
+
|
320
|
+
# @return [Numeric] 同一事業者内での路線の番号(整列のために定義)
|
321
|
+
# @example
|
322
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.index.to_s.rjust(2) }
|
323
|
+
# =>
|
324
|
+
# odpt.Railway:TokyoMetro.Ginza : 1
|
325
|
+
# odpt.Railway:TokyoMetro.Marunouchi : 2
|
326
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : 2.1
|
327
|
+
# odpt.Railway:TokyoMetro.Hibiya : 3
|
328
|
+
# odpt.Railway:TokyoMetro.Tozai : 4
|
329
|
+
# odpt.Railway:TokyoMetro.Chiyoda : 5
|
330
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : 5.1
|
331
|
+
# odpt.Railway:TokyoMetro.Yurakucho : 6
|
332
|
+
# odpt.Railway:TokyoMetro.Hanzomon : 7
|
333
|
+
# odpt.Railway:TokyoMetro.Namboku : 8
|
334
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : 9
|
335
|
+
# odpt.Railway:Toei.Asakusa : 1
|
336
|
+
# odpt.Railway:Toei.Mita : 2
|
337
|
+
# odpt.Railway:Toei.Shinjuku : 3
|
338
|
+
# odpt.Railway:Toei.Oedo : 4
|
339
|
+
# odpt.Railway:Toei.NipporiToneri : 5
|
340
|
+
# odpt.Railway:Toei.TodenArakawa : 6
|
341
|
+
# odpt.Railway:JR-East : 0
|
342
|
+
# odpt.Railway:JR-East.Yamanote : 1
|
343
|
+
# odpt.Railway:JR-East.KeihinTohoku : 2
|
344
|
+
# odpt.Railway:JR-East.Tokaido : 3
|
345
|
+
# odpt.Railway:JR-East.Yokosuka : 4
|
346
|
+
# odpt.Railway:JR-East.Takasaki : 5
|
347
|
+
# odpt.Railway:JR-East.Utsunomiya : 6
|
348
|
+
# odpt.Railway:JR-East.ShonanShinjuku : 7
|
349
|
+
# odpt.Railway:JR-East.UenoTokyo : 8
|
350
|
+
# odpt.Railway:JR-East.Chuo : 9
|
351
|
+
# odpt.Railway:JR-East.ChuoKaisoku : 10
|
352
|
+
# odpt.Railway:JR-East.ChuoSobu : 11
|
353
|
+
# odpt.Railway:JR-East.ChuoTozai : 11.1
|
354
|
+
# odpt.Railway:JR-East.SobuTozai : 11.2
|
355
|
+
# odpt.Railway:JR-East.Sobu : 12
|
356
|
+
# odpt.Railway:JR-East.NaritaExpress : 13
|
357
|
+
# odpt.Railway:JR-East.Saikyo : 14
|
358
|
+
# odpt.Railway:JR-East.Joban : 15
|
359
|
+
# odpt.Railway:JR-East.Keiyo : 16
|
360
|
+
# odpt.Railway:JR-East.Musashino : 17
|
361
|
+
# odpt.Railway:JR-East.Shinkansen : 18
|
362
|
+
# odpt.Railway:JR-Central.Shinkansen : 1
|
363
|
+
# odpt.Railway:Tokyu.Toyoko : 1
|
364
|
+
# odpt.Railway:Tokyu.Meguro : 2
|
365
|
+
# odpt.Railway:Tokyu.DenEnToshi : 3
|
366
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : 1
|
367
|
+
# odpt.Railway:Odakyu.Odawara : 1
|
368
|
+
# odpt.Railway:Odakyu.Tama : 2
|
369
|
+
# odpt.Railway:Odakyu.Enoshima : 3
|
370
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : 4
|
371
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : 4.1
|
372
|
+
# odpt.Railway:Seibu.Ikebukuro : 1
|
373
|
+
# odpt.Railway:Seibu.SeibuChichibu : 2
|
374
|
+
# odpt.Railway:Seibu.Toshima : 3
|
375
|
+
# odpt.Railway:Seibu.Sayama : 4
|
376
|
+
# odpt.Railway:Seibu.SeibuYurakucho : 5
|
377
|
+
# odpt.Railway:Seibu.Shinjuku : 6
|
378
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : 1
|
379
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : 1.09
|
380
|
+
# odpt.Railway:Tobu.SkyTree : 1.1
|
381
|
+
# odpt.Railway:Tobu.Isesaki : 2
|
382
|
+
# odpt.Railway:Tobu.Nikko : 3
|
383
|
+
# odpt.Railway:Tobu.Kinugawa : 3.1
|
384
|
+
# odpt.Railway:Tobu.Tojo : 5
|
385
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : 1
|
386
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : 1
|
387
|
+
# odpt.Railway:Keio.Keio : 1
|
388
|
+
# odpt.Railway:Keio.New : 2
|
389
|
+
# odpt.Railway:Keio.Inokashira : 3
|
390
|
+
# odpt.Railway:Keisei.KeiseiMain : 1
|
391
|
+
# odpt.Railway:Keisei.KeiseiOshiage : 2
|
392
|
+
# odpt.Railway:MIR.TX : 1
|
393
|
+
# odpt.Railway:Yurikamome.Yurikamome : 1
|
394
|
+
# odpt.Railway:TWR.Rinkai : 1
|
395
|
+
attr_reader :index
|
396
|
+
|
397
|
+
# @!group 鉄道事業者に関するメソッド (1) - ID、番号
|
398
|
+
|
399
|
+
# @return [::TokyoMetro::Static::Operator::Info] 鉄道事業者
|
400
|
+
# @example
|
401
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.operator.class.name }
|
402
|
+
# =>
|
403
|
+
# TokyoMetro::Static::Operator::Info
|
404
|
+
# TokyoMetro::Static::Operator::Info
|
405
|
+
# ......
|
406
|
+
# TokyoMetro::Static::Operator::Info
|
407
|
+
attr_reader :operator
|
408
|
+
|
409
|
+
# 鉄道事業者の ID キー
|
410
|
+
# @return [String]
|
411
|
+
def oprerator_same_as
|
412
|
+
@operator.same_as
|
413
|
+
end
|
414
|
+
|
415
|
+
# 鉄道事業者の番号(整列のための定義)
|
416
|
+
# @return [Numeric]
|
417
|
+
def operator_index
|
418
|
+
@operator.index
|
419
|
+
end
|
420
|
+
|
421
|
+
# @!group 鉄道事業者の名称に関するメソッド (1) - インスタンス変数 正式名称
|
422
|
+
|
423
|
+
# 鉄道事業者の事業者の名称(日本語、正式名称)
|
424
|
+
# @return [::Array <::String>]
|
425
|
+
def operator_name_ja
|
426
|
+
@operator.name_ja
|
427
|
+
end
|
428
|
+
|
429
|
+
# 鉄道事業者の事業者の名称(ローマ字表記、正式名称)
|
430
|
+
# @return [::Array <::String>]
|
431
|
+
def operator_name_en
|
432
|
+
@operator.name_en
|
433
|
+
end
|
434
|
+
|
435
|
+
# @!group 鉄道事業者の名称に関するメソッド (2) - インスタンス変数 略称・表示用
|
436
|
+
|
437
|
+
# 鉄道事業者の事業者の名称(日本語、略称・表示用)
|
438
|
+
# @return [::String or nil]
|
439
|
+
def operator_name_ja_display
|
440
|
+
@operator.name_ja_display
|
441
|
+
end
|
442
|
+
|
443
|
+
# 鉄道事業者の事業者の名称(ローマ字表記、略称・表示用)
|
444
|
+
# @return [::String or nil]
|
445
|
+
def operator_name_en_display
|
446
|
+
@operator.name_en_display
|
447
|
+
end
|
448
|
+
|
449
|
+
# @!group 鉄道事業者の名称に関するメソッド (3) - 標準の名称(詳細版)
|
450
|
+
|
451
|
+
# 鉄道事業者の標準の名称(日本語・詳細版)
|
452
|
+
# @return [::String]
|
453
|
+
def operator_name_ja_normal_precise
|
454
|
+
@operator.name_ja_normal_precise
|
455
|
+
end
|
456
|
+
|
457
|
+
# 鉄道事業者の標準の名称(ローマ字表記・詳細版)
|
458
|
+
# @return [::String]
|
459
|
+
def operator_name_en_normal_precise
|
460
|
+
@operator.name_en_normal_precise
|
461
|
+
end
|
462
|
+
|
463
|
+
# @!group 鉄道事業者の名称に関するメソッド (4) - 標準の名称(簡易版)
|
464
|
+
|
465
|
+
# 標準の名称(日本語・簡易版)
|
466
|
+
# @return [::String]
|
467
|
+
def operator_name_ja_normal
|
468
|
+
@operator.name_ja_normal
|
469
|
+
end
|
470
|
+
|
471
|
+
# 標準の名称(ローマ字表記)
|
472
|
+
# @return [::String]
|
473
|
+
def operator_name_en_normal
|
474
|
+
@operator.name_en_normal
|
475
|
+
end
|
476
|
+
|
477
|
+
# @!group 鉄道事業者の名称に関するメソッド (5) - 乗り換え等の情報で使用
|
478
|
+
|
479
|
+
# 乗り換え等の情報で使用する名称(日本語)
|
480
|
+
# @return [::String or nil]
|
481
|
+
def operator_name_ja_for_transfer_info
|
482
|
+
@operator.name_ja_for_transfer_info
|
483
|
+
end
|
484
|
+
|
485
|
+
# 乗り換え等の情報で使用する名称(ローマ字表記)
|
486
|
+
# @return [::String or nil]
|
487
|
+
def operator_name_en_for_transfer_info
|
488
|
+
@operator.name_en_for_transfer_info
|
489
|
+
end
|
490
|
+
|
491
|
+
# @!group 鉄道事業者の名称に関するメソッド (6) - HAML
|
492
|
+
|
493
|
+
# HAML での表示に使用する名称(日本語)
|
494
|
+
# @return [::String]
|
495
|
+
def oprerator_name_ja_to_haml
|
496
|
+
@operator.name_ja_to_haml
|
497
|
+
end
|
498
|
+
|
499
|
+
# HAML での表示に使用する名称(ローマ字表記)
|
500
|
+
# @return [::String]
|
501
|
+
def oprerator_name_en_to_haml
|
502
|
+
@operator.name_en_to_haml
|
503
|
+
end
|
504
|
+
|
505
|
+
# @!endgroup
|
506
|
+
|
507
|
+
attr_reader :name_hira
|
508
|
+
|
509
|
+
# @!group 路線名に関するメソッド (1) - 路線名のみ・正式名称
|
510
|
+
|
511
|
+
# @return [::Array <::String>] 路線の名称(日本語・路線名のみ・正式名称) - 路線名(インスタンス変数 name)が定義されている場合
|
512
|
+
# @return [nil] nil - 路線名(インスタンス変数 name)が定義されていない場合
|
513
|
+
# @example
|
514
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_ja }
|
515
|
+
# =>
|
516
|
+
# odpt.Railway:TokyoMetro.Ginza : ["銀座線"]
|
517
|
+
# odpt.Railway:TokyoMetro.Marunouchi : ["丸ノ内線"]
|
518
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : ["丸ノ内線(中野坂上 - 方南町)"]
|
519
|
+
# odpt.Railway:TokyoMetro.Hibiya : ["日比谷線"]
|
520
|
+
# odpt.Railway:TokyoMetro.Tozai : ["東西線"]
|
521
|
+
# odpt.Railway:TokyoMetro.Chiyoda : ["千代田線"]
|
522
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : ["千代田線(綾瀬 - 北綾瀬)"]
|
523
|
+
# odpt.Railway:TokyoMetro.Yurakucho : ["有楽町線"]
|
524
|
+
# odpt.Railway:TokyoMetro.Hanzomon : ["半蔵門線"]
|
525
|
+
# odpt.Railway:TokyoMetro.Namboku : ["南北線"]
|
526
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : ["副都心線"]
|
527
|
+
# odpt.Railway:Toei.Asakusa : ["浅草線"]
|
528
|
+
# odpt.Railway:Toei.Mita : ["三田線"]
|
529
|
+
# odpt.Railway:Toei.Shinjuku : ["新宿線"]
|
530
|
+
# odpt.Railway:Toei.Oedo : ["大江戸線"]
|
531
|
+
# odpt.Railway:Toei.NipporiToneri : ["日暮里・舎人ライナー"]
|
532
|
+
# odpt.Railway:Toei.TodenArakawa : ["荒川線"]
|
533
|
+
# odpt.Railway:JR-East : ["JR各線"]
|
534
|
+
# odpt.Railway:JR-East.Yamanote : ["山手線"]
|
535
|
+
# odpt.Railway:JR-East.KeihinTohoku : ["京浜東北線"]
|
536
|
+
# odpt.Railway:JR-East.Tokaido : ["東海道線"]
|
537
|
+
# odpt.Railway:JR-East.Yokosuka : ["横須賀線"]
|
538
|
+
# odpt.Railway:JR-East.Takasaki : ["高崎線"]
|
539
|
+
# odpt.Railway:JR-East.Utsunomiya : ["宇都宮線"]
|
540
|
+
# odpt.Railway:JR-East.ShonanShinjuku : ["湘南新宿ライン"]
|
541
|
+
# odpt.Railway:JR-East.UenoTokyo : ["上野東京ライン"]
|
542
|
+
# odpt.Railway:JR-East.Chuo : ["中央線 特急"]
|
543
|
+
# odpt.Railway:JR-East.ChuoKaisoku : ["中央線 快速"]
|
544
|
+
# odpt.Railway:JR-East.ChuoSobu : ["中央・総武線 各駅停車"]
|
545
|
+
# odpt.Railway:JR-East.ChuoTozai : ["中央・総武線 各駅停車(東西線直通 中野 - 三鷹)"]
|
546
|
+
# odpt.Railway:JR-East.SobuTozai : ["中央・総武線 各駅停車(東西線直通 西船橋 - 津田沼)"]
|
547
|
+
# odpt.Railway:JR-East.Sobu : ["総武快速線"]
|
548
|
+
# odpt.Railway:JR-East.NaritaExpress : ["成田エクスプレス"]
|
549
|
+
# odpt.Railway:JR-East.Saikyo : ["埼京線"]
|
550
|
+
# odpt.Railway:JR-East.Joban : ["常磐線"]
|
551
|
+
# odpt.Railway:JR-East.Keiyo : ["京葉線"]
|
552
|
+
# odpt.Railway:JR-East.Musashino : ["武蔵野線"]
|
553
|
+
# odpt.Railway:JR-East.Shinkansen : ["東北・秋田・山形・上越・長野新幹線"]
|
554
|
+
# odpt.Railway:JR-Central.Shinkansen : ["東海道・山陽新幹線"]
|
555
|
+
# odpt.Railway:Tokyu.Toyoko : ["東横線"]
|
556
|
+
# odpt.Railway:Tokyu.Meguro : ["目黒線"]
|
557
|
+
# odpt.Railway:Tokyu.DenEnToshi : ["田園都市線"]
|
558
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : ["みなとみらい線"]
|
559
|
+
# odpt.Railway:Odakyu.Odawara : ["小田原線"]
|
560
|
+
# odpt.Railway:Odakyu.Tama : ["多摩線"]
|
561
|
+
# odpt.Railway:Odakyu.Enoshima : ["江ノ島線"]
|
562
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : ["箱根登山鉄道線(小田原 - 箱根湯本)"]
|
563
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : ["箱根登山鉄道線(箱根湯本 - 強羅)"]
|
564
|
+
# odpt.Railway:Seibu.Ikebukuro : ["池袋線"]
|
565
|
+
# odpt.Railway:Seibu.SeibuChichibu : ["秩父線"]
|
566
|
+
# odpt.Railway:Seibu.Toshima : ["豊島線"]
|
567
|
+
# odpt.Railway:Seibu.Sayama : ["狭山線"]
|
568
|
+
# odpt.Railway:Seibu.SeibuYurakucho : ["西武有楽町線"]
|
569
|
+
# odpt.Railway:Seibu.Shinjuku : ["新宿線"]
|
570
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : ["スカイツリーライン(伊勢崎線)", "伊勢崎線"]
|
571
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : ["スカイツリーライン(押上 - 曳舟)"]
|
572
|
+
# odpt.Railway:Tobu.SkyTree : ["スカイツリーライン"]
|
573
|
+
# odpt.Railway:Tobu.Isesaki : ["伊勢崎線"]
|
574
|
+
# odpt.Railway:Tobu.Nikko : ["日光線"]
|
575
|
+
# odpt.Railway:Tobu.Kinugawa : ["鬼怒川線"]
|
576
|
+
# odpt.Railway:Tobu.Tojo : ["東上線"]
|
577
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : []
|
578
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : []
|
579
|
+
# odpt.Railway:Keio.Keio : ["京王線"]
|
580
|
+
# odpt.Railway:Keio.New : ["新線"]
|
581
|
+
# odpt.Railway:Keio.Inokashira : ["井の頭線"]
|
582
|
+
# odpt.Railway:Keisei.KeiseiMain : ["本線"]
|
583
|
+
# odpt.Railway:Keisei.KeiseiOshiage : ["押上線"]
|
584
|
+
# odpt.Railway:MIR.TX : []
|
585
|
+
# odpt.Railway:Yurikamome.Yurikamome : ["ゆりかもめ"]
|
586
|
+
# odpt.Railway:TWR.Rinkai : []
|
587
|
+
attr_reader :name_ja
|
588
|
+
|
589
|
+
# @return [::Array <::String>] 路線の名称(ローマ字表記・路線名のみ・正式名称) - 路線名(インスタンス変数 name_en)が定義されている場合
|
590
|
+
# @return [nil] nil - 路線名(インスタンス変数 name)が定義されていない場合
|
591
|
+
# @example
|
592
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_en }
|
593
|
+
# =>
|
594
|
+
# odpt.Railway:TokyoMetro.Ginza : ["Ginza Line"]
|
595
|
+
# odpt.Railway:TokyoMetro.Marunouchi : ["Marunouchi Line"]
|
596
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : ["Marunouchi Line (Nakano-sakaue - Honancho)"]
|
597
|
+
# odpt.Railway:TokyoMetro.Hibiya : ["Hibiya Line"]
|
598
|
+
# odpt.Railway:TokyoMetro.Tozai : ["Tozai Line"]
|
599
|
+
# odpt.Railway:TokyoMetro.Chiyoda : ["Chiyoda Line"]
|
600
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : ["Chiyoda Line (Ayase - Kita-ayase)"]
|
601
|
+
# odpt.Railway:TokyoMetro.Yurakucho : ["Yurakucho Line"]
|
602
|
+
# odpt.Railway:TokyoMetro.Hanzomon : ["Hanzomon Line"]
|
603
|
+
# odpt.Railway:TokyoMetro.Namboku : ["Namboku Line"]
|
604
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : ["Fukutoshin Line"]
|
605
|
+
# odpt.Railway:Toei.Asakusa : ["Asakusa Line"]
|
606
|
+
# odpt.Railway:Toei.Mita : ["Mita Line"]
|
607
|
+
# odpt.Railway:Toei.Shinjuku : ["Shinjuku Line"]
|
608
|
+
# odpt.Railway:Toei.Oedo : ["Oedo Line"]
|
609
|
+
# odpt.Railway:Toei.NipporiToneri : ["Nippori Toneri Liner"]
|
610
|
+
# odpt.Railway:Toei.TodenArakawa : ["Arakawa Line"]
|
611
|
+
# odpt.Railway:JR-East : ["JR Lines"]
|
612
|
+
# odpt.Railway:JR-East.Yamanote : ["Yamanote Line"]
|
613
|
+
# odpt.Railway:JR-East.KeihinTohoku : ["Keihin-Tohoku Line"]
|
614
|
+
# odpt.Railway:JR-East.Tokaido : ["Tokaido Line"]
|
615
|
+
# odpt.Railway:JR-East.Yokosuka : ["Yokosuka Line"]
|
616
|
+
# odpt.Railway:JR-East.Takasaki : ["Takasaki Line"]
|
617
|
+
# odpt.Railway:JR-East.Utsunomiya : ["Utsunomiya Line"]
|
618
|
+
# odpt.Railway:JR-East.ShonanShinjuku : ["Shonan-Shinjuku Line"]
|
619
|
+
# odpt.Railway:JR-East.UenoTokyo : ["Ueno-Tokyo Line"]
|
620
|
+
# odpt.Railway:JR-East.Chuo : ["Chuo Line (Limited Express)"]
|
621
|
+
# odpt.Railway:JR-East.ChuoKaisoku : ["Chuo Line (Rapid service)"]
|
622
|
+
# odpt.Railway:JR-East.ChuoSobu : ["Chuo and Sobu Line (Local service)"]
|
623
|
+
# odpt.Railway:JR-East.ChuoTozai : ["Chuo and Sobu Line (Local service, between Nakano and Mitaka)"]
|
624
|
+
# odpt.Railway:JR-East.SobuTozai : ["Chuo and Sobu Line (Local service, between Nishi-funabashi and Tsudanuma)"]
|
625
|
+
# odpt.Railway:JR-East.Sobu : ["Sobu Line (Rapid service)"]
|
626
|
+
# odpt.Railway:JR-East.NaritaExpress : ["Narita Express"]
|
627
|
+
# odpt.Railway:JR-East.Saikyo : ["Saikyo Line"]
|
628
|
+
# odpt.Railway:JR-East.Joban : ["Joban Line"]
|
629
|
+
# odpt.Railway:JR-East.Keiyo : ["Keiyo Line"]
|
630
|
+
# odpt.Railway:JR-East.Musashino : ["Musashino Line"]
|
631
|
+
# odpt.Railway:JR-East.Shinkansen : ["Tohoku, Akita, Yamagata, Joetsu and Nagano Shinkansen"]
|
632
|
+
# odpt.Railway:JR-Central.Shinkansen : ["Tokaido and Sanyo Shinkansen"]
|
633
|
+
# odpt.Railway:Tokyu.Toyoko : ["Toyoko Line"]
|
634
|
+
# odpt.Railway:Tokyu.Meguro : ["Meguro Line"]
|
635
|
+
# odpt.Railway:Tokyu.DenEnToshi : ["Den-en-toshi Line"]
|
636
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : ["Minatomirai Line"]
|
637
|
+
# odpt.Railway:Odakyu.Odawara : ["Odawara Line"]
|
638
|
+
# odpt.Railway:Odakyu.Tama : ["Tama Line"]
|
639
|
+
# odpt.Railway:Odakyu.Enoshima : ["Enoshima Line"]
|
640
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : ["Hakone Tozan Line"]
|
641
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : ["Hakone Tozan Line"]
|
642
|
+
# odpt.Railway:Seibu.Ikebukuro : ["Ikebukuro Line"]
|
643
|
+
# odpt.Railway:Seibu.SeibuChichibu : ["Chichibu Line"]
|
644
|
+
# odpt.Railway:Seibu.Toshima : ["Toshima Line"]
|
645
|
+
# odpt.Railway:Seibu.Sayama : ["Sayama Line"]
|
646
|
+
# odpt.Railway:Seibu.SeibuYurakucho : ["Seibu Yurakucho Line"]
|
647
|
+
# odpt.Railway:Seibu.Shinjuku : ["Shinjuku Line"]
|
648
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : ["Sky Tree and Isesaki Line"]
|
649
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : ["Sky Tree Line (Oshiage - Hikifune)"]
|
650
|
+
# odpt.Railway:Tobu.SkyTree : ["Sky Tree Line"]
|
651
|
+
# odpt.Railway:Tobu.Isesaki : ["Isesaki Line"]
|
652
|
+
# odpt.Railway:Tobu.Nikko : ["Nikko Line"]
|
653
|
+
# odpt.Railway:Tobu.Kinugawa : ["Kinugawa Line"]
|
654
|
+
# odpt.Railway:Tobu.Tojo : ["Tojo Line"]
|
655
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : []
|
656
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : []
|
657
|
+
# odpt.Railway:Keio.Keio : ["Keio Line"]
|
658
|
+
# odpt.Railway:Keio.New : ["New Line"]
|
659
|
+
# odpt.Railway:Keio.Inokashira : ["Inokashira Line"]
|
660
|
+
# odpt.Railway:Keisei.KeiseiMain : ["Main Line"]
|
661
|
+
# odpt.Railway:Keisei.KeiseiOshiage : ["Oshiage Line"]
|
662
|
+
# odpt.Railway:MIR.TX : []
|
663
|
+
# odpt.Railway:Yurikamome.Yurikamome : ["Yurikamome"]
|
664
|
+
# odpt.Railway:TWR.Rinkai : []
|
665
|
+
attr_reader :name_en
|
666
|
+
|
667
|
+
# @!group 路線名に関するメソッド (2) - 標準(路線名のみ)
|
668
|
+
|
669
|
+
# 路線名(標準・日本語表記・路線名のみ)を取得するメソッド
|
670
|
+
# @return [String] 路線名(インスタンス変数 name)が定義されている場合
|
671
|
+
# @return [nil] 路線名(インスタンス変数 name)が定義されていない場合
|
672
|
+
# @example
|
673
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_ja_normal }
|
674
|
+
# =>
|
675
|
+
# odpt.Railway:TokyoMetro.Ginza : 銀座線
|
676
|
+
# odpt.Railway:TokyoMetro.Marunouchi : 丸ノ内線
|
677
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : 丸ノ内線(中野坂上 - 方南町)
|
678
|
+
# odpt.Railway:TokyoMetro.Hibiya : 日比谷線
|
679
|
+
# odpt.Railway:TokyoMetro.Tozai : 東西線
|
680
|
+
# odpt.Railway:TokyoMetro.Chiyoda : 千代田線
|
681
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : 千代田線(綾瀬 - 北綾瀬)
|
682
|
+
# odpt.Railway:TokyoMetro.Yurakucho : 有楽町線
|
683
|
+
# odpt.Railway:TokyoMetro.Hanzomon : 半蔵門線
|
684
|
+
# odpt.Railway:TokyoMetro.Namboku : 南北線
|
685
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : 副都心線
|
686
|
+
# odpt.Railway:Toei.Asakusa : 浅草線
|
687
|
+
# odpt.Railway:Toei.Mita : 三田線
|
688
|
+
# odpt.Railway:Toei.Shinjuku : 新宿線
|
689
|
+
# odpt.Railway:Toei.Oedo : 大江戸線
|
690
|
+
# odpt.Railway:Toei.NipporiToneri : 日暮里・舎人ライナー
|
691
|
+
# odpt.Railway:Toei.TodenArakawa : 荒川線
|
692
|
+
# odpt.Railway:JR-East : JR各線
|
693
|
+
# odpt.Railway:JR-East.Yamanote : 山手線
|
694
|
+
# odpt.Railway:JR-East.KeihinTohoku : 京浜東北線
|
695
|
+
# odpt.Railway:JR-East.Tokaido : 東海道線
|
696
|
+
# odpt.Railway:JR-East.Yokosuka : 横須賀線
|
697
|
+
# odpt.Railway:JR-East.Takasaki : 高崎線
|
698
|
+
# odpt.Railway:JR-East.Utsunomiya : 宇都宮線
|
699
|
+
# odpt.Railway:JR-East.ShonanShinjuku : 湘南新宿ライン
|
700
|
+
# odpt.Railway:JR-East.UenoTokyo : 上野東京ライン
|
701
|
+
# odpt.Railway:JR-East.Chuo : 中央線 特急
|
702
|
+
# odpt.Railway:JR-East.ChuoKaisoku : 中央線 快速
|
703
|
+
# odpt.Railway:JR-East.ChuoSobu : 中央・総武線 各駅停車
|
704
|
+
# odpt.Railway:JR-East.ChuoTozai : 中央・総武線 各駅停車(東西線直通 中野 - 三鷹)
|
705
|
+
# odpt.Railway:JR-East.SobuTozai : 中央・総武線 各駅停車(東西線直通 西船橋 - 津田沼)
|
706
|
+
# odpt.Railway:JR-East.Sobu : 総武快速線
|
707
|
+
# odpt.Railway:JR-East.NaritaExpress : 成田エクスプレス
|
708
|
+
# odpt.Railway:JR-East.Saikyo : 埼京線
|
709
|
+
# odpt.Railway:JR-East.Joban : 常磐線
|
710
|
+
# odpt.Railway:JR-East.Keiyo : 京葉線
|
711
|
+
# odpt.Railway:JR-East.Musashino : 武蔵野線
|
712
|
+
# odpt.Railway:JR-East.Shinkansen : 東北・秋田・山形・上越・長野新幹線
|
713
|
+
# odpt.Railway:JR-Central.Shinkansen : 東海道・山陽新幹線
|
714
|
+
# odpt.Railway:Tokyu.Toyoko : 東横線
|
715
|
+
# odpt.Railway:Tokyu.Meguro : 目黒線
|
716
|
+
# odpt.Railway:Tokyu.DenEnToshi : 田園都市線
|
717
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : みなとみらい線
|
718
|
+
# odpt.Railway:Odakyu.Odawara : 小田原線
|
719
|
+
# odpt.Railway:Odakyu.Tama : 多摩線
|
720
|
+
# odpt.Railway:Odakyu.Enoshima : 江ノ島線
|
721
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : 箱根登山鉄道線(小田原 - 箱根湯本)
|
722
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : 箱根登山鉄道線(箱根湯本 - 強羅)
|
723
|
+
# odpt.Railway:Seibu.Ikebukuro : 池袋線
|
724
|
+
# odpt.Railway:Seibu.SeibuChichibu : 秩父線
|
725
|
+
# odpt.Railway:Seibu.Toshima : 豊島線
|
726
|
+
# odpt.Railway:Seibu.Sayama : 狭山線
|
727
|
+
# odpt.Railway:Seibu.SeibuYurakucho : 西武有楽町線
|
728
|
+
# odpt.Railway:Seibu.Shinjuku : 新宿線
|
729
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : スカイツリーライン(伊勢崎線)
|
730
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : スカイツリーライン(押上 - 曳舟)
|
731
|
+
# odpt.Railway:Tobu.SkyTree : スカイツリーライン
|
732
|
+
# odpt.Railway:Tobu.Isesaki : 伊勢崎線
|
733
|
+
# odpt.Railway:Tobu.Nikko : 日光線
|
734
|
+
# odpt.Railway:Tobu.Kinugawa : 鬼怒川線
|
735
|
+
# odpt.Railway:Tobu.Tojo : 東上線
|
736
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : (nil)
|
737
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : (nil)
|
738
|
+
# odpt.Railway:Keio.Keio : 京王線
|
739
|
+
# odpt.Railway:Keio.New : 新線
|
740
|
+
# odpt.Railway:Keio.Inokashira : 井の頭線
|
741
|
+
# odpt.Railway:Keisei.KeiseiMain : 本線
|
742
|
+
# odpt.Railway:Keisei.KeiseiOshiage : 押上線
|
743
|
+
# odpt.Railway:MIR.TX : (nil)
|
744
|
+
# odpt.Railway:Yurikamome.Yurikamome : ゆりかもめ
|
745
|
+
# odpt.Railway:TWR.Rinkai : (nil)
|
746
|
+
def name_ja_normal
|
747
|
+
get_name( @name_ja , allow_nil: true )
|
748
|
+
end
|
749
|
+
|
750
|
+
# 路線名(標準・ローマ字表記・路線名のみ)を取得するメソッド
|
751
|
+
# @return [String] 路線名(インスタンス変数 name_en)が定義されている場合
|
752
|
+
# @return [nil] 路線名(インスタンス変数 name_en)が定義されていない場合
|
753
|
+
# @example
|
754
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_en_normal }
|
755
|
+
# =>
|
756
|
+
# odpt.Railway:TokyoMetro.Ginza : Ginza Line
|
757
|
+
# odpt.Railway:TokyoMetro.Marunouchi : Marunouchi Line
|
758
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : Marunouchi Line (Nakano-sakaue - Honancho)
|
759
|
+
# odpt.Railway:TokyoMetro.Hibiya : Hibiya Line
|
760
|
+
# odpt.Railway:TokyoMetro.Tozai : Tozai Line
|
761
|
+
# odpt.Railway:TokyoMetro.Chiyoda : Chiyoda Line
|
762
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : Chiyoda Line (Ayase - Kita-ayase)
|
763
|
+
# odpt.Railway:TokyoMetro.Yurakucho : Yurakucho Line
|
764
|
+
# odpt.Railway:TokyoMetro.Hanzomon : Hanzomon Line
|
765
|
+
# odpt.Railway:TokyoMetro.Namboku : Namboku Line
|
766
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : Fukutoshin Line
|
767
|
+
# odpt.Railway:Toei.Asakusa : Asakusa Line
|
768
|
+
# odpt.Railway:Toei.Mita : Mita Line
|
769
|
+
# odpt.Railway:Toei.Shinjuku : Shinjuku Line
|
770
|
+
# odpt.Railway:Toei.Oedo : Oedo Line
|
771
|
+
# odpt.Railway:Toei.NipporiToneri : Nippori Toneri Liner
|
772
|
+
# odpt.Railway:Toei.TodenArakawa : Arakawa Line
|
773
|
+
# odpt.Railway:JR-East : JR Lines
|
774
|
+
# odpt.Railway:JR-East.Yamanote : Yamanote Line
|
775
|
+
# odpt.Railway:JR-East.KeihinTohoku : Keihin-Tohoku Line
|
776
|
+
# odpt.Railway:JR-East.Tokaido : Tokaido Line
|
777
|
+
# odpt.Railway:JR-East.Yokosuka : Yokosuka Line
|
778
|
+
# odpt.Railway:JR-East.Takasaki : Takasaki Line
|
779
|
+
# odpt.Railway:JR-East.Utsunomiya : Utsunomiya Line
|
780
|
+
# odpt.Railway:JR-East.ShonanShinjuku : Shonan-Shinjuku Line
|
781
|
+
# odpt.Railway:JR-East.UenoTokyo : Ueno-Tokyo Line
|
782
|
+
# odpt.Railway:JR-East.Chuo : Chuo Line (Limited Express)
|
783
|
+
# odpt.Railway:JR-East.ChuoKaisoku : Chuo Line (Rapid service)
|
784
|
+
# odpt.Railway:JR-East.ChuoSobu : Chuo and Sobu Line (Local service)
|
785
|
+
# odpt.Railway:JR-East.ChuoTozai : Chuo and Sobu Line (Local service, between Nakano and Mitaka)
|
786
|
+
# odpt.Railway:JR-East.SobuTozai : Chuo and Sobu Line (Local service, between Nishi-funabashi and Tsudanuma)
|
787
|
+
# odpt.Railway:JR-East.Sobu : Sobu Line (Rapid service)
|
788
|
+
# odpt.Railway:JR-East.NaritaExpress : Narita Express
|
789
|
+
# odpt.Railway:JR-East.Saikyo : Saikyo Line
|
790
|
+
# odpt.Railway:JR-East.Joban : Joban Line
|
791
|
+
# odpt.Railway:JR-East.Keiyo : Keiyo Line
|
792
|
+
# odpt.Railway:JR-East.Musashino : Musashino Line
|
793
|
+
# odpt.Railway:JR-East.Shinkansen : Tohoku, Akita, Yamagata, Joetsu and Nagano Shinkansen
|
794
|
+
# odpt.Railway:JR-Central.Shinkansen : Tokaido and Sanyo Shinkansen
|
795
|
+
# odpt.Railway:Tokyu.Toyoko : Toyoko Line
|
796
|
+
# odpt.Railway:Tokyu.Meguro : Meguro Line
|
797
|
+
# odpt.Railway:Tokyu.DenEnToshi : Den-en-toshi Line
|
798
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : Minatomirai Line
|
799
|
+
# odpt.Railway:Odakyu.Odawara : Odawara Line
|
800
|
+
# odpt.Railway:Odakyu.Tama : Tama Line
|
801
|
+
# odpt.Railway:Odakyu.Enoshima : Enoshima Line
|
802
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : Hakone Tozan Line
|
803
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : Hakone Tozan Line
|
804
|
+
# odpt.Railway:Seibu.Ikebukuro : Ikebukuro Line
|
805
|
+
# odpt.Railway:Seibu.SeibuChichibu : Chichibu Line
|
806
|
+
# odpt.Railway:Seibu.Toshima : Toshima Line
|
807
|
+
# odpt.Railway:Seibu.Sayama : Sayama Line
|
808
|
+
# odpt.Railway:Seibu.SeibuYurakucho : Seibu Yurakucho Line
|
809
|
+
# odpt.Railway:Seibu.Shinjuku : Shinjuku Line
|
810
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : Sky Tree and Isesaki Line
|
811
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : Sky Tree Line (Oshiage - Hikifune)
|
812
|
+
# odpt.Railway:Tobu.SkyTree : Sky Tree Line
|
813
|
+
# odpt.Railway:Tobu.Isesaki : Isesaki Line
|
814
|
+
# odpt.Railway:Tobu.Nikko : Nikko Line
|
815
|
+
# odpt.Railway:Tobu.Kinugawa : Kinugawa Line
|
816
|
+
# odpt.Railway:Tobu.Tojo : Tojo Line
|
817
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : (nil)
|
818
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : (nil)
|
819
|
+
# odpt.Railway:Keio.Keio : Keio Line
|
820
|
+
# odpt.Railway:Keio.New : New Line
|
821
|
+
# odpt.Railway:Keio.Inokashira : Inokashira Line
|
822
|
+
# odpt.Railway:Keisei.KeiseiMain : Main Line
|
823
|
+
# odpt.Railway:Keisei.KeiseiOshiage : Oshiage Line
|
824
|
+
# odpt.Railway:MIR.TX : (nil)
|
825
|
+
# odpt.Railway:Yurikamome.Yurikamome : Yurikamome
|
826
|
+
# odpt.Railway:TWR.Rinkai : (nil)
|
827
|
+
def name_en_normal
|
828
|
+
get_name( @name_en , allow_nil: true )
|
829
|
+
end
|
830
|
+
|
831
|
+
# @!group 路線名に関するメソッド (3) - 表示用(事業者名 + 路線名)
|
832
|
+
|
833
|
+
# 路線名(標準・日本語表記・事業者名あり)を取得するメソッド
|
834
|
+
# @return [String]
|
835
|
+
# @note 日暮里・舎人ライナーについては、先頭に「都営」を付けない。
|
836
|
+
# @example
|
837
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_ja_with_operator_name_precise }
|
838
|
+
# =>
|
839
|
+
# odpt.Railway:TokyoMetro.Ginza : 東京メトロ銀座線
|
840
|
+
# odpt.Railway:TokyoMetro.Marunouchi : 東京メトロ丸ノ内線
|
841
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : 東京メトロ丸ノ内線(中野坂上 - 方南町)
|
842
|
+
# odpt.Railway:TokyoMetro.Hibiya : 東京メトロ日比谷線
|
843
|
+
# odpt.Railway:TokyoMetro.Tozai : 東京メトロ東西線
|
844
|
+
# odpt.Railway:TokyoMetro.Chiyoda : 東京メトロ千代田線
|
845
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : 東京メトロ千代田線(綾瀬 - 北綾瀬)
|
846
|
+
# odpt.Railway:TokyoMetro.Yurakucho : 東京メトロ有楽町線
|
847
|
+
# odpt.Railway:TokyoMetro.Hanzomon : 東京メトロ半蔵門線
|
848
|
+
# odpt.Railway:TokyoMetro.Namboku : 東京メトロ南北線
|
849
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : 東京メトロ副都心線
|
850
|
+
# odpt.Railway:Toei.Asakusa : 都営浅草線
|
851
|
+
# odpt.Railway:Toei.Mita : 都営三田線
|
852
|
+
# odpt.Railway:Toei.Shinjuku : 都営新宿線
|
853
|
+
# odpt.Railway:Toei.Oedo : 都営大江戸線
|
854
|
+
# odpt.Railway:Toei.NipporiToneri : 都営日暮里・舎人ライナー
|
855
|
+
# odpt.Railway:Toei.TodenArakawa : 都電荒川線
|
856
|
+
# odpt.Railway:JR-East : JR各線
|
857
|
+
# odpt.Railway:JR-East.Yamanote : JR山手線
|
858
|
+
# odpt.Railway:JR-East.KeihinTohoku : JR京浜東北線
|
859
|
+
# odpt.Railway:JR-East.Tokaido : JR東海道線
|
860
|
+
# odpt.Railway:JR-East.Yokosuka : JR横須賀線
|
861
|
+
# odpt.Railway:JR-East.Takasaki : JR高崎線
|
862
|
+
# odpt.Railway:JR-East.Utsunomiya : JR宇都宮線
|
863
|
+
# odpt.Railway:JR-East.ShonanShinjuku : JR湘南新宿ライン
|
864
|
+
# odpt.Railway:JR-East.UenoTokyo : JR上野東京ライン
|
865
|
+
# odpt.Railway:JR-East.Chuo : JR中央線 特急
|
866
|
+
# odpt.Railway:JR-East.ChuoKaisoku : JR中央線 快速
|
867
|
+
# odpt.Railway:JR-East.ChuoSobu : JR中央・総武線 各駅停車
|
868
|
+
# odpt.Railway:JR-East.ChuoTozai : JR中央・総武線 各駅停車(東西線直通 中野 - 三鷹)
|
869
|
+
# odpt.Railway:JR-East.SobuTozai : JR中央・総武線 各駅停車(東西線直通 西船橋 - 津田沼)
|
870
|
+
# odpt.Railway:JR-East.Sobu : JR総武快速線
|
871
|
+
# odpt.Railway:JR-East.NaritaExpress : JR成田エクスプレス
|
872
|
+
# odpt.Railway:JR-East.Saikyo : JR埼京線
|
873
|
+
# odpt.Railway:JR-East.Joban : JR常磐線
|
874
|
+
# odpt.Railway:JR-East.Keiyo : JR京葉線
|
875
|
+
# odpt.Railway:JR-East.Musashino : JR武蔵野線
|
876
|
+
# odpt.Railway:JR-East.Shinkansen : JR東北・秋田・山形・上越・長野新幹線
|
877
|
+
# odpt.Railway:JR-Central.Shinkansen : JR東海道・山陽新幹線
|
878
|
+
# odpt.Railway:Tokyu.Toyoko : 東急東横線
|
879
|
+
# odpt.Railway:Tokyu.Meguro : 東急目黒線
|
880
|
+
# odpt.Railway:Tokyu.DenEnToshi : 東急田園都市線
|
881
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : 横浜高速鉄道みなとみらい線
|
882
|
+
# odpt.Railway:Odakyu.Odawara : 小田急小田原線
|
883
|
+
# odpt.Railway:Odakyu.Tama : 小田急多摩線
|
884
|
+
# odpt.Railway:Odakyu.Enoshima : 小田急江ノ島線
|
885
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : 箱根登山鉄道線(小田原 - 箱根湯本)
|
886
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : 箱根登山鉄道線(箱根湯本 - 強羅)
|
887
|
+
# odpt.Railway:Seibu.Ikebukuro : 西武池袋線
|
888
|
+
# odpt.Railway:Seibu.SeibuChichibu : 西武秩父線
|
889
|
+
# odpt.Railway:Seibu.Toshima : 西武豊島線
|
890
|
+
# odpt.Railway:Seibu.Sayama : 西武狭山線
|
891
|
+
# odpt.Railway:Seibu.SeibuYurakucho : 西武有楽町線
|
892
|
+
# odpt.Railway:Seibu.Shinjuku : 西武新宿線
|
893
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : 東武スカイツリーライン(伊勢崎線)
|
894
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : 東武スカイツリーライン(押上 - 曳舟)
|
895
|
+
# odpt.Railway:Tobu.SkyTree : 東武スカイツリーライン
|
896
|
+
# odpt.Railway:Tobu.Isesaki : 東武伊勢崎線
|
897
|
+
# odpt.Railway:Tobu.Nikko : 東武日光線
|
898
|
+
# odpt.Railway:Tobu.Kinugawa : 東武鬼怒川線
|
899
|
+
# odpt.Railway:Tobu.Tojo : 東武東上線
|
900
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : 埼玉高速鉄道
|
901
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : 東葉高速鉄道
|
902
|
+
# odpt.Railway:Keio.Keio : 京王線
|
903
|
+
# odpt.Railway:Keio.New : 京王新線
|
904
|
+
# odpt.Railway:Keio.Inokashira : 京王井の頭線
|
905
|
+
# odpt.Railway:Keisei.KeiseiMain : 京成本線
|
906
|
+
# odpt.Railway:Keisei.KeiseiOshiage : 京成押上線
|
907
|
+
# odpt.Railway:MIR.TX : つくばエクスプレス
|
908
|
+
# odpt.Railway:Yurikamome.Yurikamome : ゆりかもめ
|
909
|
+
# odpt.Railway:TWR.Rinkai : りんかい線
|
910
|
+
def name_ja_with_operator_name_precise
|
911
|
+
# 標準の事業者名
|
912
|
+
operator_name_ja_normal_str = self.operator_name_ja_normal
|
913
|
+
# 標準の路線名(路線名のみ)
|
914
|
+
name_ja_normal_str = self.name_ja_normal
|
915
|
+
|
916
|
+
str = set_name_ja_display( operator_name_ja_normal_str , name_ja_normal_str , en: false )
|
917
|
+
|
918
|
+
if str.string?
|
919
|
+
return str
|
920
|
+
else
|
921
|
+
puts "Error:"
|
922
|
+
puts " \[\name_ja_normal\] #{name_ja_normal_str} (class: #{name_ja_normal_str.class.name})"
|
923
|
+
puts " \[operator_name_ja_normal\] #{operator_name_ja_normal} (class: #{operator_name_ja_normal.class.name})"
|
924
|
+
raise "Error"
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# 路線名(標準・ローマ字表記・事業者名あり)を取得するメソッド
|
929
|
+
# @return [String]
|
930
|
+
# @example
|
931
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_en_with_operator_name_precise }
|
932
|
+
# =>
|
933
|
+
# odpt.Railway:TokyoMetro.Ginza : Tokyo Metro Ginza Line
|
934
|
+
# odpt.Railway:TokyoMetro.Marunouchi : Tokyo Metro Marunouchi Line
|
935
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : Tokyo Metro Marunouchi Line (Nakano-sakaue - Honancho)
|
936
|
+
# odpt.Railway:TokyoMetro.Hibiya : Tokyo Metro Hibiya Line
|
937
|
+
# odpt.Railway:TokyoMetro.Tozai : Tokyo Metro Tozai Line
|
938
|
+
# odpt.Railway:TokyoMetro.Chiyoda : Tokyo Metro Chiyoda Line
|
939
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : Tokyo Metro Chiyoda Line (Ayase - Kita-ayase)
|
940
|
+
# odpt.Railway:TokyoMetro.Yurakucho : Tokyo Metro Yurakucho Line
|
941
|
+
# odpt.Railway:TokyoMetro.Hanzomon : Tokyo Metro Hanzomon Line
|
942
|
+
# odpt.Railway:TokyoMetro.Namboku : Tokyo Metro Namboku Line
|
943
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : Tokyo Metro Fukutoshin Line
|
944
|
+
# odpt.Railway:Toei.Asakusa : Toei Asakusa Line
|
945
|
+
# odpt.Railway:Toei.Mita : Toei Mita Line
|
946
|
+
# odpt.Railway:Toei.Shinjuku : Toei Shinjuku Line
|
947
|
+
# odpt.Railway:Toei.Oedo : Toei Oedo Line
|
948
|
+
# odpt.Railway:Toei.NipporiToneri : Toei Nippori Toneri Liner
|
949
|
+
# odpt.Railway:Toei.TodenArakawa : Toden Arakawa Line
|
950
|
+
# odpt.Railway:JR-East : JR Lines
|
951
|
+
# odpt.Railway:JR-East.Yamanote : JR Yamanote Line
|
952
|
+
# odpt.Railway:JR-East.KeihinTohoku : JR Keihin-Tohoku Line
|
953
|
+
# odpt.Railway:JR-East.Tokaido : JR Tokaido Line
|
954
|
+
# odpt.Railway:JR-East.Yokosuka : JR Yokosuka Line
|
955
|
+
# odpt.Railway:JR-East.Takasaki : JR Takasaki Line
|
956
|
+
# odpt.Railway:JR-East.Utsunomiya : JR Utsunomiya Line
|
957
|
+
# odpt.Railway:JR-East.ShonanShinjuku : JR Shonan-Shinjuku Line
|
958
|
+
# odpt.Railway:JR-East.UenoTokyo : JR Ueno-Tokyo Line
|
959
|
+
# odpt.Railway:JR-East.Chuo : JR Chuo Line (Limited Express)
|
960
|
+
# odpt.Railway:JR-East.ChuoKaisoku : JR Chuo Line (Rapid service)
|
961
|
+
# odpt.Railway:JR-East.ChuoSobu : JR Chuo and Sobu Line (Local service)
|
962
|
+
# odpt.Railway:JR-East.ChuoTozai : JR Chuo and Sobu Line (Local service, between Nakano and Mitaka)
|
963
|
+
# odpt.Railway:JR-East.SobuTozai : JR Chuo and Sobu Line (Local service, between Nishi-funabashi and Tsudanuma)
|
964
|
+
# odpt.Railway:JR-East.Sobu : JR Sobu Line (Rapid service)
|
965
|
+
# odpt.Railway:JR-East.NaritaExpress : JR Narita Express
|
966
|
+
# odpt.Railway:JR-East.Saikyo : JR Saikyo Line
|
967
|
+
# odpt.Railway:JR-East.Joban : JR Joban Line
|
968
|
+
# odpt.Railway:JR-East.Keiyo : JR Keiyo Line
|
969
|
+
# odpt.Railway:JR-East.Musashino : JR Musashino Line
|
970
|
+
# odpt.Railway:JR-East.Shinkansen : Tohoku, Akita, Yamagata, Joetsu and Nagano Shinkansen
|
971
|
+
# odpt.Railway:JR-Central.Shinkansen : Tokaido and Sanyo Shinkansen
|
972
|
+
# odpt.Railway:Tokyu.Toyoko : Tokyu Toyoko Line
|
973
|
+
# odpt.Railway:Tokyu.Meguro : Tokyu Meguro Line
|
974
|
+
# odpt.Railway:Tokyu.DenEnToshi : Tokyu Den-en-toshi Line
|
975
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : Yokohama Minatomirai Railway Company Minatomirai Line
|
976
|
+
# odpt.Railway:Odakyu.Odawara : Odakyu Odawara Line
|
977
|
+
# odpt.Railway:Odakyu.Tama : Odakyu Tama Line
|
978
|
+
# odpt.Railway:Odakyu.Enoshima : Odakyu Enoshima Line
|
979
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : Hakone Tozan Line
|
980
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : Hakone Tozan Line
|
981
|
+
# odpt.Railway:Seibu.Ikebukuro : Seibu Ikebukuro Line
|
982
|
+
# odpt.Railway:Seibu.SeibuChichibu : Seibu Chichibu Line
|
983
|
+
# odpt.Railway:Seibu.Toshima : Seibu Toshima Line
|
984
|
+
# odpt.Railway:Seibu.Sayama : Seibu Sayama Line
|
985
|
+
# odpt.Railway:Seibu.SeibuYurakucho : Seibu Yurakucho Line
|
986
|
+
# odpt.Railway:Seibu.Shinjuku : Seibu Shinjuku Line
|
987
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : Tobu Sky Tree and Isesaki Line
|
988
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : Tobu Sky Tree Line (Oshiage - Hikifune)
|
989
|
+
# odpt.Railway:Tobu.SkyTree : Tobu Sky Tree Line
|
990
|
+
# odpt.Railway:Tobu.Isesaki : Tobu Isesaki Line
|
991
|
+
# odpt.Railway:Tobu.Nikko : Tobu Nikko Line
|
992
|
+
# odpt.Railway:Tobu.Kinugawa : Tobu Kinugawa Line
|
993
|
+
# odpt.Railway:Tobu.Tojo : Tobu Tojo Line
|
994
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : Saitama Railway
|
995
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : Toyo Rapid Railway
|
996
|
+
# odpt.Railway:Keio.Keio : Keio Line
|
997
|
+
# odpt.Railway:Keio.New : Keio New Line
|
998
|
+
# odpt.Railway:Keio.Inokashira : Keio Inokashira Line
|
999
|
+
# odpt.Railway:Keisei.KeiseiMain : Keisei Main Line
|
1000
|
+
# odpt.Railway:Keisei.KeiseiOshiage : Keisei Oshiage Line
|
1001
|
+
# odpt.Railway:MIR.TX : Tsukuba Express
|
1002
|
+
# odpt.Railway:Yurikamome.Yurikamome : Yurikamome
|
1003
|
+
# odpt.Railway:TWR.Rinkai : Rinkai Line
|
1004
|
+
def name_en_with_operator_name_precise
|
1005
|
+
# 標準の事業者名
|
1006
|
+
operator_name_ja_normal_str = self.operator_name_en_normal
|
1007
|
+
# 標準の路線名(路線名のみ)
|
1008
|
+
name_ja_normal_str = self.name_en_normal
|
1009
|
+
|
1010
|
+
str = set_name_ja_display( operator_name_ja_normal_str , name_ja_normal_str , en: true )
|
1011
|
+
|
1012
|
+
if str.string?
|
1013
|
+
return str
|
1014
|
+
else
|
1015
|
+
puts "Error:"
|
1016
|
+
puts " \[\name_ja_normal\] #{name_ja_normal_str} (class: #{name_ja_normal_str.class.name})"
|
1017
|
+
puts " \[operator_name_en_normal_str\] #{operator_name_en_normal_str} (class: #{operator_name_en_normal_str.class.name})"
|
1018
|
+
raise "Error"
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# @!group 路線名に関するメソッド (4) - 標準(【原則】事業者名 + 路線名)
|
1023
|
+
|
1024
|
+
# 路線名(標準・日本語表記・【原則】事業者名あり)を取得するメソッド
|
1025
|
+
# @note 事業者名が「東京メトロ」の場合は事業者名を省略する。
|
1026
|
+
# @return [String]
|
1027
|
+
# @example
|
1028
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_ja_with_operator_name }
|
1029
|
+
# =>
|
1030
|
+
# odpt.Railway:TokyoMetro.Ginza : 銀座線
|
1031
|
+
# odpt.Railway:TokyoMetro.Marunouchi : 丸ノ内線
|
1032
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : 丸ノ内線(中野坂上 - 方南町)
|
1033
|
+
# odpt.Railway:TokyoMetro.Hibiya : 日比谷線
|
1034
|
+
# odpt.Railway:TokyoMetro.Tozai : 東西線
|
1035
|
+
# odpt.Railway:TokyoMetro.Chiyoda : 千代田線
|
1036
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : 千代田線(綾瀬 - 北綾瀬)
|
1037
|
+
# odpt.Railway:TokyoMetro.Yurakucho : 有楽町線
|
1038
|
+
# odpt.Railway:TokyoMetro.Hanzomon : 半蔵門線
|
1039
|
+
# odpt.Railway:TokyoMetro.Namboku : 南北線
|
1040
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : 副都心線
|
1041
|
+
# odpt.Railway:Toei.Asakusa : 都営浅草線
|
1042
|
+
# odpt.Railway:Toei.Mita : 都営三田線
|
1043
|
+
# odpt.Railway:Toei.Shinjuku : 都営新宿線
|
1044
|
+
# odpt.Railway:Toei.Oedo : 都営大江戸線
|
1045
|
+
# odpt.Railway:Toei.NipporiToneri : 日暮里・舎人ライナー
|
1046
|
+
# odpt.Railway:Toei.TodenArakawa : 都電荒川線
|
1047
|
+
# odpt.Railway:JR-East : JR各線
|
1048
|
+
# odpt.Railway:JR-East.Yamanote : JR山手線
|
1049
|
+
# odpt.Railway:JR-East.KeihinTohoku : JR京浜東北線
|
1050
|
+
# odpt.Railway:JR-East.Tokaido : JR東海道線
|
1051
|
+
# odpt.Railway:JR-East.Yokosuka : JR横須賀線
|
1052
|
+
# odpt.Railway:JR-East.Takasaki : JR高崎線
|
1053
|
+
# odpt.Railway:JR-East.Utsunomiya : JR宇都宮線
|
1054
|
+
# odpt.Railway:JR-East.ShonanShinjuku : JR湘南新宿ライン
|
1055
|
+
# odpt.Railway:JR-East.UenoTokyo : JR上野東京ライン
|
1056
|
+
# odpt.Railway:JR-East.Chuo : JR中央線 特急
|
1057
|
+
# odpt.Railway:JR-East.ChuoKaisoku : JR中央線 快速
|
1058
|
+
# odpt.Railway:JR-East.ChuoSobu : JR中央・総武線 各駅停車
|
1059
|
+
# odpt.Railway:JR-East.ChuoTozai : JR中央・総武線 各駅停車(東西線直通 中野 - 三鷹)
|
1060
|
+
# odpt.Railway:JR-East.SobuTozai : JR中央・総武線 各駅停車(東西線直通 西船橋 - 津田沼)
|
1061
|
+
# odpt.Railway:JR-East.Sobu : JR総武快速線
|
1062
|
+
# odpt.Railway:JR-East.NaritaExpress : JR成田エクスプレス
|
1063
|
+
# odpt.Railway:JR-East.Saikyo : JR埼京線
|
1064
|
+
# odpt.Railway:JR-East.Joban : JR常磐線
|
1065
|
+
# odpt.Railway:JR-East.Keiyo : JR京葉線
|
1066
|
+
# odpt.Railway:JR-East.Musashino : JR武蔵野線
|
1067
|
+
# odpt.Railway:JR-East.Shinkansen : 東北・秋田・山形・上越・長野新幹線
|
1068
|
+
# odpt.Railway:JR-Central.Shinkansen : 東海道・山陽新幹線
|
1069
|
+
# odpt.Railway:Tokyu.Toyoko : 東急東横線
|
1070
|
+
# odpt.Railway:Tokyu.Meguro : 東急目黒線
|
1071
|
+
# odpt.Railway:Tokyu.DenEnToshi : 東急田園都市線
|
1072
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : 横浜高速鉄道みなとみらい線
|
1073
|
+
# odpt.Railway:Odakyu.Odawara : 小田急小田原線
|
1074
|
+
# odpt.Railway:Odakyu.Tama : 小田急多摩線
|
1075
|
+
# odpt.Railway:Odakyu.Enoshima : 小田急江ノ島線
|
1076
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : 箱根登山鉄道線(小田原 - 箱根湯本)
|
1077
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : 箱根登山鉄道線(箱根湯本 - 強羅)
|
1078
|
+
# odpt.Railway:Seibu.Ikebukuro : 西武池袋線
|
1079
|
+
# odpt.Railway:Seibu.SeibuChichibu : 西武秩父線
|
1080
|
+
# odpt.Railway:Seibu.Toshima : 西武豊島線
|
1081
|
+
# odpt.Railway:Seibu.Sayama : 西武狭山線
|
1082
|
+
# odpt.Railway:Seibu.SeibuYurakucho : 西武有楽町線
|
1083
|
+
# odpt.Railway:Seibu.Shinjuku : 西武新宿線
|
1084
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : 東武スカイツリーライン(伊勢崎線)
|
1085
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : 東武スカイツリーライン(押上 - 曳舟)
|
1086
|
+
# odpt.Railway:Tobu.SkyTree : 東武スカイツリーライン
|
1087
|
+
# odpt.Railway:Tobu.Isesaki : 東武伊勢崎線
|
1088
|
+
# odpt.Railway:Tobu.Nikko : 東武日光線
|
1089
|
+
# odpt.Railway:Tobu.Kinugawa : 東武鬼怒川線
|
1090
|
+
# odpt.Railway:Tobu.Tojo : 東武東上線
|
1091
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : 埼玉高速鉄道
|
1092
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : 東葉高速鉄道
|
1093
|
+
# odpt.Railway:Keio.Keio : 京王線
|
1094
|
+
# odpt.Railway:Keio.New : 京王新線
|
1095
|
+
# odpt.Railway:Keio.Inokashira : 京王井の頭線
|
1096
|
+
# odpt.Railway:Keisei.KeiseiMain : 京成本線
|
1097
|
+
# odpt.Railway:Keisei.KeiseiOshiage : 京成押上線
|
1098
|
+
# odpt.Railway:MIR.TX : つくばエクスプレス
|
1099
|
+
# odpt.Railway:Yurikamome.Yurikamome : ゆりかもめ
|
1100
|
+
# odpt.Railway:TWR.Rinkai : りんかい線
|
1101
|
+
def name_ja_with_operator_name
|
1102
|
+
# 標準の事業者名
|
1103
|
+
operator_name_ja_normal_str = self.operator_name_ja_normal
|
1104
|
+
# 標準の路線名(路線名のみ)
|
1105
|
+
name_ja_normal_str = self.name_ja_normal
|
1106
|
+
# 事業者名を付けるか否かの設定
|
1107
|
+
with_operator_setting = name_ja_with_operator_name__set_operator_setting
|
1108
|
+
|
1109
|
+
set_name_ja_display( operator_name_ja_normal_str , name_ja_normal_str , en: false , with_operator: with_operator_setting )
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# 路線名(標準・ローマ字表記・【原則】事業者名あり)を取得するメソッド
|
1113
|
+
# @note ローマ字表記の事業者名が "Tokyo Metro" の場合は事業者名を省略する。
|
1114
|
+
# @return [String]
|
1115
|
+
# @example
|
1116
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.name_en_with_operator_name }
|
1117
|
+
# =>
|
1118
|
+
# odpt.Railway:TokyoMetro.Ginza : Ginza Line
|
1119
|
+
# odpt.Railway:TokyoMetro.Marunouchi : Marunouchi Line
|
1120
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : Marunouchi Line (Nakano-sakaue - Honancho)
|
1121
|
+
# odpt.Railway:TokyoMetro.Hibiya : Hibiya Line
|
1122
|
+
# odpt.Railway:TokyoMetro.Tozai : Tozai Line
|
1123
|
+
# odpt.Railway:TokyoMetro.Chiyoda : Chiyoda Line
|
1124
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : Chiyoda Line (Ayase - Kita-ayase)
|
1125
|
+
# odpt.Railway:TokyoMetro.Yurakucho : Yurakucho Line
|
1126
|
+
# odpt.Railway:TokyoMetro.Hanzomon : Hanzomon Line
|
1127
|
+
# odpt.Railway:TokyoMetro.Namboku : Namboku Line
|
1128
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : Fukutoshin Line
|
1129
|
+
# odpt.Railway:Toei.Asakusa : Toei Asakusa Line
|
1130
|
+
# odpt.Railway:Toei.Mita : Toei Mita Line
|
1131
|
+
# odpt.Railway:Toei.Shinjuku : Toei Shinjuku Line
|
1132
|
+
# odpt.Railway:Toei.Oedo : Toei Oedo Line
|
1133
|
+
# odpt.Railway:Toei.NipporiToneri : Nippori Toneri Liner
|
1134
|
+
# odpt.Railway:Toei.TodenArakawa : Toden Arakawa Line
|
1135
|
+
# odpt.Railway:JR-East : JR Lines
|
1136
|
+
# odpt.Railway:JR-East.Yamanote : JR Yamanote Line
|
1137
|
+
# odpt.Railway:JR-East.KeihinTohoku : JR Keihin-Tohoku Line
|
1138
|
+
# odpt.Railway:JR-East.Tokaido : JR Tokaido Line
|
1139
|
+
# odpt.Railway:JR-East.Yokosuka : JR Yokosuka Line
|
1140
|
+
# odpt.Railway:JR-East.Takasaki : JR Takasaki Line
|
1141
|
+
# odpt.Railway:JR-East.Utsunomiya : JR Utsunomiya Line
|
1142
|
+
# odpt.Railway:JR-East.ShonanShinjuku : JR Shonan-Shinjuku Line
|
1143
|
+
# odpt.Railway:JR-East.UenoTokyo : JR Ueno-Tokyo Line
|
1144
|
+
# odpt.Railway:JR-East.Chuo : JR Chuo Line (Limited Express)
|
1145
|
+
# odpt.Railway:JR-East.ChuoKaisoku : JR Chuo Line (Rapid service)
|
1146
|
+
# odpt.Railway:JR-East.ChuoSobu : JR Chuo and Sobu Line (Local service)
|
1147
|
+
# odpt.Railway:JR-East.ChuoTozai : JR Chuo and Sobu Line (Local service, between Nakano and Mitaka)
|
1148
|
+
# odpt.Railway:JR-East.SobuTozai : JR Chuo and Sobu Line (Local service, between Nishi-funabashi and Tsudanuma)
|
1149
|
+
# odpt.Railway:JR-East.Sobu : JR Sobu Line (Rapid service)
|
1150
|
+
# odpt.Railway:JR-East.NaritaExpress : JR Narita Express
|
1151
|
+
# odpt.Railway:JR-East.Saikyo : JR Saikyo Line
|
1152
|
+
# odpt.Railway:JR-East.Joban : JR Joban Line
|
1153
|
+
# odpt.Railway:JR-East.Keiyo : JR Keiyo Line
|
1154
|
+
# odpt.Railway:JR-East.Musashino : JR Musashino Line
|
1155
|
+
# odpt.Railway:JR-East.Shinkansen : Tohoku, Akita, Yamagata, Joetsu and Nagano Shinkansen
|
1156
|
+
# odpt.Railway:JR-Central.Shinkansen : Tokaido and Sanyo Shinkansen
|
1157
|
+
# odpt.Railway:Tokyu.Toyoko : Tokyu Toyoko Line
|
1158
|
+
# odpt.Railway:Tokyu.Meguro : Tokyu Meguro Line
|
1159
|
+
# odpt.Railway:Tokyu.DenEnToshi : Tokyu Den-en-toshi Line
|
1160
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : Yokohama Minatomirai Railway Company Minatomirai Line
|
1161
|
+
# odpt.Railway:Odakyu.Odawara : Odakyu Odawara Line
|
1162
|
+
# odpt.Railway:Odakyu.Tama : Odakyu Tama Line
|
1163
|
+
# odpt.Railway:Odakyu.Enoshima : Odakyu Enoshima Line
|
1164
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : Hakone Tozan Line
|
1165
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : Hakone Tozan Line
|
1166
|
+
# odpt.Railway:Seibu.Ikebukuro : Seibu Ikebukuro Line
|
1167
|
+
# odpt.Railway:Seibu.SeibuChichibu : Seibu Chichibu Line
|
1168
|
+
# odpt.Railway:Seibu.Toshima : Seibu Toshima Line
|
1169
|
+
# odpt.Railway:Seibu.Sayama : Seibu Sayama Line
|
1170
|
+
# odpt.Railway:Seibu.SeibuYurakucho : Seibu Yurakucho Line
|
1171
|
+
# odpt.Railway:Seibu.Shinjuku : Seibu Shinjuku Line
|
1172
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : Tobu Sky Tree and Isesaki Line
|
1173
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : Tobu Sky Tree Line (Oshiage - Hikifune)
|
1174
|
+
# odpt.Railway:Tobu.SkyTree : Tobu Sky Tree Line
|
1175
|
+
# odpt.Railway:Tobu.Isesaki : Tobu Isesaki Line
|
1176
|
+
# odpt.Railway:Tobu.Nikko : Tobu Nikko Line
|
1177
|
+
# odpt.Railway:Tobu.Kinugawa : Tobu Kinugawa Line
|
1178
|
+
# odpt.Railway:Tobu.Tojo : Tobu Tojo Line
|
1179
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : Saitama Railway
|
1180
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : Toyo Rapid Railway
|
1181
|
+
# odpt.Railway:Keio.Keio : Keio Line
|
1182
|
+
# odpt.Railway:Keio.New : Keio New Line
|
1183
|
+
# odpt.Railway:Keio.Inokashira : Keio Inokashira Line
|
1184
|
+
# odpt.Railway:Keisei.KeiseiMain : Keisei Main Line
|
1185
|
+
# odpt.Railway:Keisei.KeiseiOshiage : Keisei Oshiage Line
|
1186
|
+
# odpt.Railway:MIR.TX : Tsukuba Express
|
1187
|
+
# odpt.Railway:Yurikamome.Yurikamome : Yurikamome
|
1188
|
+
# odpt.Railway:TWR.Rinkai : Rinkai Line
|
1189
|
+
def name_en_with_operator_name
|
1190
|
+
# 標準の事業者名
|
1191
|
+
operator_name_ja_normal_str = self.operator_name_en_normal
|
1192
|
+
# 標準の路線名(路線名のみ)
|
1193
|
+
name_ja_normal_str = self.name_en_normal
|
1194
|
+
# 事業者名を付けるか否かの設定
|
1195
|
+
with_operator_setting = name_ja_with_operator_name__set_operator_setting
|
1196
|
+
|
1197
|
+
set_name_ja_display( operator_name_ja_normal_str , name_ja_normal_str , en: true , with_operator: with_operator_setting )
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# @!group 路線色に関するメソッド (1)
|
1201
|
+
|
1202
|
+
# 標準の路線色を取得するメソッド
|
1203
|
+
# @return [::TokyoMetro::Static::Color or ::Array <::TokyoMetro::Static::Color>] インスタンス変数 color が定義されている場合
|
1204
|
+
# @return [nil] インスタンス変数 color が定義されていない場合
|
1205
|
+
# @example
|
1206
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | line | puts line.same_as.ljust(48) + " : " + line.color.class.name }
|
1207
|
+
# =>
|
1208
|
+
# odpt.Railway:TokyoMetro.Ginza : Array
|
1209
|
+
# odpt.Railway:TokyoMetro.Marunouchi : Array
|
1210
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : Array
|
1211
|
+
# odpt.Railway:TokyoMetro.Hibiya : Array
|
1212
|
+
# odpt.Railway:TokyoMetro.Tozai : Array
|
1213
|
+
# odpt.Railway:TokyoMetro.Chiyoda : Array
|
1214
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : Array
|
1215
|
+
# odpt.Railway:TokyoMetro.Yurakucho : Array
|
1216
|
+
# odpt.Railway:TokyoMetro.Hanzomon : Array
|
1217
|
+
# odpt.Railway:TokyoMetro.Namboku : Array
|
1218
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : Array
|
1219
|
+
# odpt.Railway:Toei.Asakusa : Array
|
1220
|
+
# odpt.Railway:Toei.Mita : Array
|
1221
|
+
# odpt.Railway:Toei.Shinjuku : Array
|
1222
|
+
# odpt.Railway:Toei.Oedo : Array
|
1223
|
+
# odpt.Railway:Toei.NipporiToneri : Array
|
1224
|
+
# odpt.Railway:Toei.TodenArakawa : Array
|
1225
|
+
# odpt.Railway:JR-East : Array
|
1226
|
+
# odpt.Railway:JR-East.Yamanote : Array
|
1227
|
+
# odpt.Railway:JR-East.KeihinTohoku : Array
|
1228
|
+
# odpt.Railway:JR-East.Tokaido : Array
|
1229
|
+
# odpt.Railway:JR-East.Yokosuka : Array
|
1230
|
+
# odpt.Railway:JR-East.Takasaki : Array
|
1231
|
+
# odpt.Railway:JR-East.Utsunomiya : Array
|
1232
|
+
# odpt.Railway:JR-East.ShonanShinjuku : Array
|
1233
|
+
# odpt.Railway:JR-East.UenoTokyo : Array
|
1234
|
+
# odpt.Railway:JR-East.Chuo : Array
|
1235
|
+
# odpt.Railway:JR-East.ChuoKaisoku : Array
|
1236
|
+
# odpt.Railway:JR-East.ChuoSobu : Array
|
1237
|
+
# odpt.Railway:JR-East.ChuoTozai : Array
|
1238
|
+
# odpt.Railway:JR-East.SobuTozai : Array
|
1239
|
+
# odpt.Railway:JR-East.Sobu : Array
|
1240
|
+
# odpt.Railway:JR-East.NaritaExpress : Array
|
1241
|
+
# odpt.Railway:JR-East.Saikyo : Array
|
1242
|
+
# odpt.Railway:JR-East.Joban : Array
|
1243
|
+
# odpt.Railway:JR-East.Keiyo : Array
|
1244
|
+
# odpt.Railway:JR-East.Musashino : Array
|
1245
|
+
# odpt.Railway:JR-East.Shinkansen : Array
|
1246
|
+
# odpt.Railway:JR-Central.Shinkansen : Array
|
1247
|
+
# odpt.Railway:Tokyu.Toyoko : Array
|
1248
|
+
# odpt.Railway:Tokyu.Meguro : Array
|
1249
|
+
# odpt.Railway:Tokyu.DenEnToshi : Array
|
1250
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : Array
|
1251
|
+
# odpt.Railway:Odakyu.Odawara : NilClass
|
1252
|
+
# odpt.Railway:Odakyu.Tama : NilClass
|
1253
|
+
# odpt.Railway:Odakyu.Enoshima : NilClass
|
1254
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : NilClass
|
1255
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : NilClass
|
1256
|
+
# odpt.Railway:Seibu.Ikebukuro : Array
|
1257
|
+
# odpt.Railway:Seibu.SeibuChichibu : Array
|
1258
|
+
# odpt.Railway:Seibu.Toshima : Array
|
1259
|
+
# odpt.Railway:Seibu.Sayama : Array
|
1260
|
+
# odpt.Railway:Seibu.SeibuYurakucho : Array
|
1261
|
+
# odpt.Railway:Seibu.Shinjuku : Array
|
1262
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : Array
|
1263
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : Array
|
1264
|
+
# odpt.Railway:Tobu.SkyTree : Array
|
1265
|
+
# odpt.Railway:Tobu.Isesaki : Array
|
1266
|
+
# odpt.Railway:Tobu.Nikko : Array
|
1267
|
+
# odpt.Railway:Tobu.Kinugawa : Array
|
1268
|
+
# odpt.Railway:Tobu.Tojo : Array
|
1269
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : NilClass
|
1270
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : NilClass
|
1271
|
+
# odpt.Railway:Keio.Keio : Array
|
1272
|
+
# odpt.Railway:Keio.New : Array
|
1273
|
+
# odpt.Railway:Keio.Inokashira : Array
|
1274
|
+
# odpt.Railway:Keisei.KeiseiMain : NilClass
|
1275
|
+
# odpt.Railway:Keisei.KeiseiOshiage : NilClass
|
1276
|
+
# odpt.Railway:MIR.TX : NilClass
|
1277
|
+
# odpt.Railway:Yurikamome.Yurikamome : Array
|
1278
|
+
# odpt.Railway:TWR.Rinkai : NilClass
|
1279
|
+
attr_reader :color
|
1280
|
+
|
1281
|
+
# 標準の路線色を取得するメソッド
|
1282
|
+
# @return [::TokyoMetro::Static::Color]
|
1283
|
+
# @example
|
1284
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.color_normal.class.name }
|
1285
|
+
# =>
|
1286
|
+
# odpt.Railway:TokyoMetro.Ginza : TokyoMetro::Static::Color
|
1287
|
+
# odpt.Railway:TokyoMetro.Marunouchi : TokyoMetro::Static::Color
|
1288
|
+
# ......
|
1289
|
+
# odpt.Railway:TWR.Rinkai : TokyoMetro::Static::Color
|
1290
|
+
def color_normal
|
1291
|
+
# 路線の色が定義されていない場合
|
1292
|
+
if @color.nil?
|
1293
|
+
# 事業者の色が定義されている場合は、事業者の色をそのまま標準の路線色とする。
|
1294
|
+
if self.operator_color.instance_of?( ::TokyoMetro::Static::Color )
|
1295
|
+
self.operator_color
|
1296
|
+
|
1297
|
+
# 事業者の色が定義されていない場合は、#999999 を標準の路線色とする。
|
1298
|
+
else
|
1299
|
+
::TokyoMetro::Static::Color.new( "\#999999" , 153 , 153 , 153 )
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# @color が配列の場合は、配列の最初の要素を標準の路線色とする。
|
1303
|
+
elsif @color.instance_of?( ::Array )
|
1304
|
+
@color.first
|
1305
|
+
# 路線の色が1つのみ設定されている場合は、それを標準の路線色とする。
|
1306
|
+
elsif @color.instance_of?( ::TokyoMetro::Static::Color )
|
1307
|
+
@color
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# 標準の路線色の WebColor を取得するメソッド
|
1312
|
+
# @return [::String]
|
1313
|
+
# @example
|
1314
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.color_normal_web }
|
1315
|
+
# =>
|
1316
|
+
# odpt.Railway:TokyoMetro.Ginza : #f39700
|
1317
|
+
# odpt.Railway:TokyoMetro.Marunouchi : #e60012
|
1318
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : #e60012
|
1319
|
+
# odpt.Railway:TokyoMetro.Hibiya : #9caeb7
|
1320
|
+
# odpt.Railway:TokyoMetro.Tozai : #00a7db
|
1321
|
+
# odpt.Railway:TokyoMetro.Chiyoda : #009945
|
1322
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : #009945
|
1323
|
+
# odpt.Railway:TokyoMetro.Yurakucho : #d7c447
|
1324
|
+
# odpt.Railway:TokyoMetro.Hanzomon : #9b7cb6
|
1325
|
+
# odpt.Railway:TokyoMetro.Namboku : #00ada9
|
1326
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : #bb641d
|
1327
|
+
# odpt.Railway:Toei.Asakusa : #e85298
|
1328
|
+
# odpt.Railway:Toei.Mita : #0078c2
|
1329
|
+
# odpt.Railway:Toei.Shinjuku : #6cbb5a
|
1330
|
+
# odpt.Railway:Toei.Oedo : #b6007a
|
1331
|
+
# odpt.Railway:Toei.NipporiToneri : #ff69b4
|
1332
|
+
# odpt.Railway:Toei.TodenArakawa : #66cc66
|
1333
|
+
# odpt.Railway:JR-East : #999999
|
1334
|
+
# odpt.Railway:JR-East.Yamanote : #80c241
|
1335
|
+
# odpt.Railway:JR-East.KeihinTohoku : #00b2e5
|
1336
|
+
# odpt.Railway:JR-East.Tokaido : #f68b1e
|
1337
|
+
# odpt.Railway:JR-East.Yokosuka : #007ac0
|
1338
|
+
# odpt.Railway:JR-East.Takasaki : #f68b1e
|
1339
|
+
# odpt.Railway:JR-East.Utsunomiya : #f68b1e
|
1340
|
+
# odpt.Railway:JR-East.ShonanShinjuku : #e21f26
|
1341
|
+
# odpt.Railway:JR-East.UenoTokyo : #654e99
|
1342
|
+
# odpt.Railway:JR-East.Chuo : #007ac0
|
1343
|
+
# odpt.Railway:JR-East.ChuoKaisoku : #f15a22
|
1344
|
+
# odpt.Railway:JR-East.ChuoSobu : #ffd400
|
1345
|
+
# odpt.Railway:JR-East.ChuoTozai : #00a7db
|
1346
|
+
# odpt.Railway:JR-East.SobuTozai : #00a7db
|
1347
|
+
# odpt.Railway:JR-East.Sobu : #007ac0
|
1348
|
+
# odpt.Railway:JR-East.NaritaExpress : #ff0000
|
1349
|
+
# odpt.Railway:JR-East.Saikyo : #00b48d
|
1350
|
+
# odpt.Railway:JR-East.Joban : #00b261
|
1351
|
+
# odpt.Railway:JR-East.Keiyo : #c9242f
|
1352
|
+
# odpt.Railway:JR-East.Musashino : #f15a22
|
1353
|
+
# odpt.Railway:JR-East.Shinkansen : #008000
|
1354
|
+
# odpt.Railway:JR-Central.Shinkansen : #00008b
|
1355
|
+
# odpt.Railway:Tokyu.Toyoko : #da0442
|
1356
|
+
# odpt.Railway:Tokyu.Meguro : #009cd2
|
1357
|
+
# odpt.Railway:Tokyu.DenEnToshi : #20a288
|
1358
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : #09357f
|
1359
|
+
# odpt.Railway:Odakyu.Odawara : #2288cc
|
1360
|
+
# odpt.Railway:Odakyu.Tama : #2288cc
|
1361
|
+
# odpt.Railway:Odakyu.Enoshima : #2288cc
|
1362
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : #2288cc
|
1363
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : #2288cc
|
1364
|
+
# odpt.Railway:Seibu.Ikebukuro : #ff6600
|
1365
|
+
# odpt.Railway:Seibu.SeibuChichibu : #ff6600
|
1366
|
+
# odpt.Railway:Seibu.Toshima : #ff6600
|
1367
|
+
# odpt.Railway:Seibu.Sayama : #ff6600
|
1368
|
+
# odpt.Railway:Seibu.SeibuYurakucho : #ff6600
|
1369
|
+
# odpt.Railway:Seibu.Shinjuku : #0099cc
|
1370
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : #0f6cc3
|
1371
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : #0f6cc3
|
1372
|
+
# odpt.Railway:Tobu.SkyTree : #0f6cc3
|
1373
|
+
# odpt.Railway:Tobu.Isesaki : #ff0000
|
1374
|
+
# odpt.Railway:Tobu.Nikko : #ffa500
|
1375
|
+
# odpt.Railway:Tobu.Kinugawa : #ffa500
|
1376
|
+
# odpt.Railway:Tobu.Tojo : #000099
|
1377
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : #6699ff
|
1378
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : #3fb036
|
1379
|
+
# odpt.Railway:Keio.Keio : #dd0077
|
1380
|
+
# odpt.Railway:Keio.New : #dd0077
|
1381
|
+
# odpt.Railway:Keio.Inokashira : #000088
|
1382
|
+
# odpt.Railway:Keisei.KeiseiMain : #005aaa
|
1383
|
+
# odpt.Railway:Keisei.KeiseiOshiage : #005aaa
|
1384
|
+
# odpt.Railway:MIR.TX : #000084
|
1385
|
+
# odpt.Railway:Yurikamome.Yurikamome : #00418e
|
1386
|
+
# odpt.Railway:TWR.Rinkai : #00418e
|
1387
|
+
def color_normal_web
|
1388
|
+
self.color_normal.web_color
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
# 標準の路線色の Red, Green, Blue の各成分の情報を括弧で囲んだ文字列にして返すメソッド
|
1392
|
+
# @return [::String]
|
1393
|
+
# @example
|
1394
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.to_color_normal_rgb_in_parentheses }
|
1395
|
+
# =>
|
1396
|
+
# odpt.Railway:TokyoMetro.Ginza : ( 243 , 151 , 0 )
|
1397
|
+
# odpt.Railway:TokyoMetro.Marunouchi : ( 230 , 0 , 18 )
|
1398
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : ( 230 , 0 , 18 )
|
1399
|
+
# odpt.Railway:TokyoMetro.Hibiya : ( 156 , 174 , 183 )
|
1400
|
+
# odpt.Railway:TokyoMetro.Tozai : ( 0 , 167 , 219 )
|
1401
|
+
# odpt.Railway:TokyoMetro.Chiyoda : ( 0 , 153 , 69 )
|
1402
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : ( 0 , 153 , 69 )
|
1403
|
+
# odpt.Railway:TokyoMetro.Yurakucho : ( 215 , 196 , 71 )
|
1404
|
+
# odpt.Railway:TokyoMetro.Hanzomon : ( 155 , 124 , 182 )
|
1405
|
+
# odpt.Railway:TokyoMetro.Namboku : ( 0 , 173 , 169 )
|
1406
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : ( 187 , 100 , 29 )
|
1407
|
+
# odpt.Railway:Toei.Asakusa : ( 232 , 82 , 152 )
|
1408
|
+
# odpt.Railway:Toei.Mita : ( 0 , 120 , 194 )
|
1409
|
+
# odpt.Railway:Toei.Shinjuku : ( 108 , 187 , 90 )
|
1410
|
+
# odpt.Railway:Toei.Oedo : ( 182 , 0 , 122 )
|
1411
|
+
# odpt.Railway:Toei.NipporiToneri : ( 255 , 105 , 180 )
|
1412
|
+
# odpt.Railway:Toei.TodenArakawa : ( 102 , 204 , 102 )
|
1413
|
+
# odpt.Railway:JR-East : ( 153 , 153 , 153 )
|
1414
|
+
# odpt.Railway:JR-East.Yamanote : ( 128 , 194 , 65 )
|
1415
|
+
# odpt.Railway:JR-East.KeihinTohoku : ( 0 , 178 , 229 )
|
1416
|
+
# odpt.Railway:JR-East.Tokaido : ( 246 , 139 , 30 )
|
1417
|
+
# odpt.Railway:JR-East.Yokosuka : ( 0 , 122 , 192 )
|
1418
|
+
# odpt.Railway:JR-East.Takasaki : ( 246 , 139 , 30 )
|
1419
|
+
# odpt.Railway:JR-East.Utsunomiya : ( 246 , 139 , 30 )
|
1420
|
+
# odpt.Railway:JR-East.ShonanShinjuku : ( 226 , 31 , 38 )
|
1421
|
+
# odpt.Railway:JR-East.UenoTokyo : ( 101 , 78 , 153 )
|
1422
|
+
# odpt.Railway:JR-East.Chuo : ( 0 , 122 , 192 )
|
1423
|
+
# odpt.Railway:JR-East.ChuoKaisoku : ( 241 , 90 , 34 )
|
1424
|
+
# odpt.Railway:JR-East.ChuoSobu : ( 255 , 212 , 0 )
|
1425
|
+
# odpt.Railway:JR-East.ChuoTozai : ( 0 , 167 , 219 )
|
1426
|
+
# odpt.Railway:JR-East.SobuTozai : ( 0 , 167 , 219 )
|
1427
|
+
# odpt.Railway:JR-East.Sobu : ( 0 , 122 , 192 )
|
1428
|
+
# odpt.Railway:JR-East.NaritaExpress : ( 255 , 0 , 0 )
|
1429
|
+
# odpt.Railway:JR-East.Saikyo : ( 0 , 180 , 141 )
|
1430
|
+
# odpt.Railway:JR-East.Joban : ( 0 , 178 , 97 )
|
1431
|
+
# odpt.Railway:JR-East.Keiyo : ( 201 , 36 , 47 )
|
1432
|
+
# odpt.Railway:JR-East.Musashino : ( 241 , 90 , 34 )
|
1433
|
+
# odpt.Railway:JR-East.Shinkansen : ( 0 , 128 , 0 )
|
1434
|
+
# odpt.Railway:JR-Central.Shinkansen : ( 0 , 0 , 139 )
|
1435
|
+
# odpt.Railway:Tokyu.Toyoko : ( 218 , 4 , 66 )
|
1436
|
+
# odpt.Railway:Tokyu.Meguro : ( 0 , 156 , 210 )
|
1437
|
+
# odpt.Railway:Tokyu.DenEnToshi : ( 32 , 162 , 136 )
|
1438
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : ( 9 , 53 , 127 )
|
1439
|
+
# odpt.Railway:Odakyu.Odawara : ( 34 , 136 , 204 )
|
1440
|
+
# odpt.Railway:Odakyu.Tama : ( 34 , 136 , 204 )
|
1441
|
+
# odpt.Railway:Odakyu.Enoshima : ( 34 , 136 , 204 )
|
1442
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : ( 34 , 136 , 204 )
|
1443
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : ( 34 , 136 , 204 )
|
1444
|
+
# odpt.Railway:Seibu.Ikebukuro : ( 255 , 102 , 0 )
|
1445
|
+
# odpt.Railway:Seibu.SeibuChichibu : ( 255 , 102 , 0 )
|
1446
|
+
# odpt.Railway:Seibu.Toshima : ( 255 , 102 , 0 )
|
1447
|
+
# odpt.Railway:Seibu.Sayama : ( 255 , 102 , 0 )
|
1448
|
+
# odpt.Railway:Seibu.SeibuYurakucho : ( 255 , 102 , 0 )
|
1449
|
+
# odpt.Railway:Seibu.Shinjuku : ( 0 , 153 , 204 )
|
1450
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : ( 15 , 108 , 195 )
|
1451
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : ( 15 , 108 , 195 )
|
1452
|
+
# odpt.Railway:Tobu.SkyTree : ( 15 , 108 , 195 )
|
1453
|
+
# odpt.Railway:Tobu.Isesaki : ( 255 , 0 , 0 )
|
1454
|
+
# odpt.Railway:Tobu.Nikko : ( 255 , 165 , 0 )
|
1455
|
+
# odpt.Railway:Tobu.Kinugawa : ( 255 , 165 , 0 )
|
1456
|
+
# odpt.Railway:Tobu.Tojo : ( 0 , 0 , 153 )
|
1457
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : ( 102 , 153 , 255 )
|
1458
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : ( 63 , 176 , 54 )
|
1459
|
+
# odpt.Railway:Keio.Keio : ( 221 , 0 , 119 )
|
1460
|
+
# odpt.Railway:Keio.New : ( 221 , 0 , 119 )
|
1461
|
+
# odpt.Railway:Keio.Inokashira : ( 0 , 0 , 136 )
|
1462
|
+
# odpt.Railway:Keisei.KeiseiMain : ( 0 , 90 , 170 )
|
1463
|
+
# odpt.Railway:Keisei.KeiseiOshiage : ( 0 , 90 , 170 )
|
1464
|
+
# odpt.Railway:MIR.TX : ( 0 , 0 , 132 )
|
1465
|
+
# odpt.Railway:Yurikamome.Yurikamome : ( 0 , 65 , 142 )
|
1466
|
+
# odpt.Railway:TWR.Rinkai : ( 0 , 65 , 142 )
|
1467
|
+
def to_color_normal_rgb_in_parentheses
|
1468
|
+
self.color_normal.to_rgb_color_in_parentheses
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
# @!group 路線色に関するメソッド (2)
|
1472
|
+
|
1473
|
+
# 標準の路線色の R 成分を取得するメソッド
|
1474
|
+
# @return [Integer]
|
1475
|
+
def color_normal_red
|
1476
|
+
self.color_normal.red
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# 標準の路線色の G 成分を取得するメソッド
|
1480
|
+
# @return [Integer]
|
1481
|
+
def color_normal_green
|
1482
|
+
self.color_normal.green
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
# 標準の路線色の B 成分を取得するメソッド
|
1486
|
+
# @return [Integer]
|
1487
|
+
def color_normal_blue
|
1488
|
+
self.color_normal.blue
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# @!group CSS に関するメソッド
|
1492
|
+
|
1493
|
+
# CSS のクラスの名称
|
1494
|
+
# @return [String]
|
1495
|
+
# @example
|
1496
|
+
# ::TokyoMetro::Static.railway_lines.each_value { | railway_line | puts railway_line.same_as.ljust(48) + " : " + railway_line.css_class_name }
|
1497
|
+
# =>
|
1498
|
+
# odpt.Railway:TokyoMetro.Ginza : ginza
|
1499
|
+
# odpt.Railway:TokyoMetro.Marunouchi : marunouchi
|
1500
|
+
# odpt.Railway:TokyoMetro.MarunouchiBranch : marunouchi_branch
|
1501
|
+
# odpt.Railway:TokyoMetro.Hibiya : hibiya
|
1502
|
+
# odpt.Railway:TokyoMetro.Tozai : tozai
|
1503
|
+
# odpt.Railway:TokyoMetro.Chiyoda : chiyoda
|
1504
|
+
# odpt.Railway:TokyoMetro.ChiyodaBranch : chiyoda_branch
|
1505
|
+
# odpt.Railway:TokyoMetro.Yurakucho : yurakucho
|
1506
|
+
# odpt.Railway:TokyoMetro.Hanzomon : hanzomon
|
1507
|
+
# odpt.Railway:TokyoMetro.Namboku : namboku
|
1508
|
+
# odpt.Railway:TokyoMetro.Fukutoshin : fukutoshin
|
1509
|
+
# odpt.Railway:Toei.Asakusa : toei_asakusa
|
1510
|
+
# odpt.Railway:Toei.Mita : toei_mita
|
1511
|
+
# odpt.Railway:Toei.Shinjuku : toei_shinjuku
|
1512
|
+
# odpt.Railway:Toei.Oedo : toei_oedo
|
1513
|
+
# odpt.Railway:Toei.NipporiToneri : nippori_toneri
|
1514
|
+
# odpt.Railway:Toei.TodenArakawa : toden_arakawa
|
1515
|
+
# odpt.Railway:JR-East : jrs
|
1516
|
+
# odpt.Railway:JR-East.Yamanote : jr_yamanote
|
1517
|
+
# odpt.Railway:JR-East.KeihinTohoku : jr_keihin_tohoku
|
1518
|
+
# odpt.Railway:JR-East.Tokaido : jr_tokaido
|
1519
|
+
# odpt.Railway:JR-East.Yokosuka : jr_yokosuka
|
1520
|
+
# odpt.Railway:JR-East.Takasaki : jr_takasaki
|
1521
|
+
# odpt.Railway:JR-East.Utsunomiya : jr_utsunomiya
|
1522
|
+
# odpt.Railway:JR-East.ShonanShinjuku : jr_shonan_shinjuku
|
1523
|
+
# odpt.Railway:JR-East.UenoTokyo : jr_ueno_tokyo
|
1524
|
+
# odpt.Railway:JR-East.Chuo : jr_chuo_limited_exp
|
1525
|
+
# odpt.Railway:JR-East.ChuoKaisoku : jr_chuo_rapid
|
1526
|
+
# odpt.Railway:JR-East.ChuoSobu : jr_chuo_and_sobu_local
|
1527
|
+
# odpt.Railway:JR-East.ChuoTozai : jr_chuo_and_sobu_local_between_nakano_and_mitaka
|
1528
|
+
# odpt.Railway:JR-East.SobuTozai : jr_chuo_and_sobu_local_between_nishi_funabashi_and_tsudanuma
|
1529
|
+
# odpt.Railway:JR-East.Sobu : jr_sobu_rapid
|
1530
|
+
# odpt.Railway:JR-East.NaritaExpress : jr_narita_exp
|
1531
|
+
# odpt.Railway:JR-East.Saikyo : jr_saikyo
|
1532
|
+
# odpt.Railway:JR-East.Joban : jr_joban
|
1533
|
+
# odpt.Railway:JR-East.Keiyo : jr_keiyo
|
1534
|
+
# odpt.Railway:JR-East.Musashino : jr_musashino
|
1535
|
+
# odpt.Railway:JR-East.Shinkansen : shinkansen_e
|
1536
|
+
# odpt.Railway:JR-Central.Shinkansen : shinkansen_c
|
1537
|
+
# odpt.Railway:Tokyu.Toyoko : tokyu_toyoko
|
1538
|
+
# odpt.Railway:Tokyu.Meguro : tokyu_meguro
|
1539
|
+
# odpt.Railway:Tokyu.DenEnToshi : tokyu_den_en_toshi
|
1540
|
+
# odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai : yokohama_minatomirai_mm
|
1541
|
+
# odpt.Railway:Odakyu.Odawara : odakyu_odawara
|
1542
|
+
# odpt.Railway:Odakyu.Tama : odakyu_tama
|
1543
|
+
# odpt.Railway:Odakyu.Enoshima : odakyu_enoshima
|
1544
|
+
# odpt.Railway:HakoneTozan.Rail.OdawaraSide : hakone_tozan
|
1545
|
+
# odpt.Railway:HakoneTozan.Rail.GoraSide : hakone_tozan
|
1546
|
+
# odpt.Railway:Seibu.Ikebukuro : seibu_ikebukuro
|
1547
|
+
# odpt.Railway:Seibu.SeibuChichibu : seibu_chichibu
|
1548
|
+
# odpt.Railway:Seibu.Toshima : seibu_toshima
|
1549
|
+
# odpt.Railway:Seibu.Sayama : seibu_sayama
|
1550
|
+
# odpt.Railway:Seibu.SeibuYurakucho : seibu_yurakucho
|
1551
|
+
# odpt.Railway:Seibu.Shinjuku : seibu_shinjuku
|
1552
|
+
# odpt.Railway:Tobu.SkyTreeIsesaki : tobu_sky_tree_and_isesaki
|
1553
|
+
# odpt.Railway:Tobu.SkyTreeOshiage : tobu_sky_tree_oshiage_hikifune
|
1554
|
+
# odpt.Railway:Tobu.SkyTree : tobu_sky_tree
|
1555
|
+
# odpt.Railway:Tobu.Isesaki : tobu_isesaki
|
1556
|
+
# odpt.Railway:Tobu.Nikko : tobu_nikko
|
1557
|
+
# odpt.Railway:Tobu.Kinugawa : tobu_kinugawa
|
1558
|
+
# odpt.Railway:Tobu.Tojo : tobu_tojo
|
1559
|
+
# odpt.Railway:SaitamaRailway.SaitamaRailway : saitama
|
1560
|
+
# odpt.Railway:ToyoRapidRailway.ToyoRapidRailway : toyo_rapid
|
1561
|
+
# odpt.Railway:Keio.Keio : keio_line
|
1562
|
+
# odpt.Railway:Keio.New : keio_new
|
1563
|
+
# odpt.Railway:Keio.Inokashira : keio_inokashira
|
1564
|
+
# odpt.Railway:Keisei.KeiseiMain : keisei_main
|
1565
|
+
# odpt.Railway:Keisei.KeiseiOshiage : keisei_oshiage
|
1566
|
+
# odpt.Railway:MIR.TX : tsukuba_exp
|
1567
|
+
# odpt.Railway:Yurikamome.Yurikamome : yurikamome_line
|
1568
|
+
# odpt.Railway:TWR.Rinkai : rinkai
|
1569
|
+
def css_class_name
|
1570
|
+
case @same_as
|
1571
|
+
when "odpt.Railway:TokyoMetro.MarunouchiBranch"
|
1572
|
+
"marunouchi_branch"
|
1573
|
+
when "odpt.Railway:TokyoMetro.ChiyodaBranch"
|
1574
|
+
"chiyoda_branch"
|
1575
|
+
when "odpt.Railway:JR-East.Shinkansen" , "odpt.Railway:JR-East.Shinkansen.2015" , "odpt.Railway:JR-East.Shinkansen.2016"
|
1576
|
+
"shinkansen_e"
|
1577
|
+
when "odpt.Railway:JR-Central.Shinkansen"
|
1578
|
+
"shinkansen_c"
|
1579
|
+
when "odpt.Railway:YokohamaMinatomiraiRailway.Minatomirai"
|
1580
|
+
"yokohama_minatomirai_mm"
|
1581
|
+
when "odpt.Railway:Keio.Keio"
|
1582
|
+
"keio_line"
|
1583
|
+
when "odpt.Railway:Yurikamome.Yurikamome"
|
1584
|
+
"yurikamome_line"
|
1585
|
+
else
|
1586
|
+
super( "" , :name_en_with_operator_name )
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
# @!group 鉄道事業者の駅番号・路線番号に関するメソッド
|
1591
|
+
|
1592
|
+
# 駅ナンバリングを実施しているか否か
|
1593
|
+
# @return [Boolean]
|
1594
|
+
def operator_numbering
|
1595
|
+
@operator.numbering
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
# 路線番号の形
|
1599
|
+
# @return [Stirng or nil]
|
1600
|
+
def operator_railway_line_code_shape
|
1601
|
+
@operator.railway_line_code_shape
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# 駅記号の形
|
1605
|
+
# @return [Stirng or nil]
|
1606
|
+
def operator_station_code_shape
|
1607
|
+
@operator.station_code_shape
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
# @!group 鉄道事業者の色に関するメソッド (1)
|
1611
|
+
|
1612
|
+
# 鉄道事業者の色を取得するメソッド
|
1613
|
+
# @return [::TokyoMetro::Static::Color]
|
1614
|
+
def operator_color
|
1615
|
+
@operator.color
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
# 鉄道事業者の色の WebColor を取得するメソッド
|
1619
|
+
# @return [String]
|
1620
|
+
def operator_color_web
|
1621
|
+
@operator.web_color
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# 鉄道事業者の色の Red, Green, Blue の各成分の情報を括弧で囲んだ文字列にして返すメソッド
|
1625
|
+
# @return [String]
|
1626
|
+
def to_operator_color_rgb_in_parentheses
|
1627
|
+
@operator.to_rgb_color_in_parentheses
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
# @!group 鉄道事業者の色に関するメソッド (2)
|
1631
|
+
|
1632
|
+
# 鉄道事業者の色の R 成分を取得するメソッド
|
1633
|
+
# @return [Integer]
|
1634
|
+
def operator_color_red
|
1635
|
+
@operator.red
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
# 鉄道事業者の色の G 成分を取得するメソッド
|
1639
|
+
# @return [Integer]
|
1640
|
+
def operator_color_green
|
1641
|
+
@operator.green
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# 鉄道事業者の色の B 成分を取得するメソッド
|
1645
|
+
# @return [Integer]
|
1646
|
+
def operator_color_blue
|
1647
|
+
@operator.blue
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
# @!group SCSS に関するメソッド
|
1651
|
+
|
1652
|
+
# SCSS で include する、形状を表す mixin を返すメソッド
|
1653
|
+
# @return [::String]
|
1654
|
+
def included_scss_mixin_for_railway_line_code_shape
|
1655
|
+
case self.operator_railway_line_code_shape
|
1656
|
+
when nil
|
1657
|
+
"rounded_square"
|
1658
|
+
when "none"
|
1659
|
+
"rounded_square"
|
1660
|
+
when "filled_rounded_square" , "stroked_circle" , "stroked_rounded_square"
|
1661
|
+
"railway_line_code_#{self.operator_railway_line_code_shape}"
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
# 塗りつぶしなしの図形の縁取り線の太さを返すメソッド
|
1666
|
+
# @return [Numeric] 縁取り線を設定する場合
|
1667
|
+
# @return [nil] 縁取り線を設定しない場合
|
1668
|
+
def stroke_line_width_of_stroked_line_for_scss( rate: 1 )
|
1669
|
+
case self.operator_railway_line_code_shape
|
1670
|
+
when "stroked_circle" , "stroked_rounded_square"
|
1671
|
+
case self.operator.same_as
|
1672
|
+
when "odpt.Operator:TokyoMetro" , "odpt.Operator:Toei"
|
1673
|
+
num = 9
|
1674
|
+
else
|
1675
|
+
num = 6
|
1676
|
+
end
|
1677
|
+
num * rate
|
1678
|
+
else
|
1679
|
+
nil
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
# テキストの設定(include する mixin)を返すメソッド
|
1684
|
+
# @return [::Array]
|
1685
|
+
def railway_line_code_text_settings_for_scss
|
1686
|
+
ary = ::Array.new
|
1687
|
+
# 路線記号が定義されている場合
|
1688
|
+
if self.name_code_normal.string?
|
1689
|
+
case self.name_code_normal.length
|
1690
|
+
when 1
|
1691
|
+
ary << "railway_line_code_large_letter"
|
1692
|
+
ary << "railway_line_code_bold"
|
1693
|
+
else
|
1694
|
+
ary << "railway_line_code_small_letter"
|
1695
|
+
case @operator.same_as
|
1696
|
+
when "odpt.Operator:Tokyu" , "odpt.Operator:YokohamaMinatomiraiRailway" , "odpt.Operator:ToyoRapidRailway"
|
1697
|
+
ary << "railway_line_code_bold"
|
1698
|
+
end
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
ary
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
private
|
1705
|
+
|
1706
|
+
def set_name_ja_display( operator , railway_line , en: false , with_operator: true )
|
1707
|
+
# 路線名が定義されていない場合
|
1708
|
+
if railway_line.nil?
|
1709
|
+
# 事業者名を返す
|
1710
|
+
return operator
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
# 事業者名なしの設定がされている場合
|
1714
|
+
unless with_operator
|
1715
|
+
return railway_line
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
# 路線名・事業者名がともに定義されている場合
|
1719
|
+
if railway_line.string? and operator.string?
|
1720
|
+
# 路線名の先頭に事業者名が付いている場合(京王線、西武有楽町線などを想定)
|
1721
|
+
# または「設定がローマ字 かつ 路線が新幹線」の場合
|
1722
|
+
if ( !(en) and /\A#{operator}/ === railway_line ) or ( en and ( /\A#{operator}/ === railway_line or /Shinkansen\Z/ === railway_line or operator == "" ) )
|
1723
|
+
# 路線名を返す
|
1724
|
+
return railway_line
|
1725
|
+
# 路線名の先頭に事業者名が付いていない場合
|
1726
|
+
else
|
1727
|
+
# 事業者名と路線名を繋げた文字列を返す
|
1728
|
+
if en
|
1729
|
+
return operator + " " + railway_line
|
1730
|
+
else
|
1731
|
+
return operator + railway_line
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
return nil
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
def name_ja_with_operator_name__set_operator_setting
|
1740
|
+
case @operator.same_as
|
1741
|
+
when "odpt.Operator:TokyoMetro" , "odpt.Operator:ToeiNipporiToneri"
|
1742
|
+
false
|
1743
|
+
else
|
1744
|
+
#---- 路線による判定 ここから
|
1745
|
+
case @same_as
|
1746
|
+
when "odpt.Railway:JR-East.Shinkansen" , "odpt.Railway:JR-Central.Shinkansen"
|
1747
|
+
false
|
1748
|
+
else
|
1749
|
+
true
|
1750
|
+
end
|
1751
|
+
#---- 路線による判定 ここまで
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
end
|