tokyo_metro 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1920) hide show
  1. checksums.yaml +7 -0
  2. data/.DS_Store +0 -0
  3. data/.current_version +1 -0
  4. data/.gitignore +9 -0
  5. data/.rspec +2 -0
  6. data/.travis.yml +3 -0
  7. data/Capfile +34 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE +22 -0
  10. data/README.md +39 -0
  11. data/Rakefile +16 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +7 -0
  14. data/config/deploy.rb +38 -0
  15. data/config/deploy/production.rb +61 -0
  16. data/config/deploy/staging.rb +61 -0
  17. data/exe/tokyo_metro +3 -0
  18. data/lib/tokyo_metro.rb +320 -0
  19. data/lib/tokyo_metro/api.rb +163 -0
  20. data/lib/tokyo_metro/api/fare.rb +94 -0
  21. data/lib/tokyo_metro/api/fare/info.rb +200 -0
  22. data/lib/tokyo_metro/api/fare/list.rb +25 -0
  23. data/lib/tokyo_metro/api/meta_class.rb +3 -0
  24. data/lib/tokyo_metro/api/meta_class/data_search.rb +8 -0
  25. data/lib/tokyo_metro/api/meta_class/fundamental.rb +18 -0
  26. data/lib/tokyo_metro/api/meta_class/fundamental/info.rb +15 -0
  27. data/lib/tokyo_metro/api/meta_class/fundamental/list.rb +32 -0
  28. data/lib/tokyo_metro/api/meta_class/geo.rb +4 -0
  29. data/lib/tokyo_metro/api/meta_class/geo/info.rb +3 -0
  30. data/lib/tokyo_metro/api/meta_class/geo/list.rb +3 -0
  31. data/lib/tokyo_metro/api/meta_class/hybrid.rb +10 -0
  32. data/lib/tokyo_metro/api/meta_class/hybrid/info.rb +3 -0
  33. data/lib/tokyo_metro/api/meta_class/hybrid/list.rb +3 -0
  34. data/lib/tokyo_metro/api/meta_class/not_real_time.rb +3 -0
  35. data/lib/tokyo_metro/api/meta_class/not_real_time/info.rb +3 -0
  36. data/lib/tokyo_metro/api/meta_class/not_real_time/list.rb +3 -0
  37. data/lib/tokyo_metro/api/meta_class/real_time.rb +7 -0
  38. data/lib/tokyo_metro/api/meta_class/real_time/info.rb +7 -0
  39. data/lib/tokyo_metro/api/meta_class/real_time/list.rb +21 -0
  40. data/lib/tokyo_metro/api/mlit_railway_line.rb +35 -0
  41. data/lib/tokyo_metro/api/mlit_railway_line/info.rb +88 -0
  42. data/lib/tokyo_metro/api/mlit_railway_line/list.rb +11 -0
  43. data/lib/tokyo_metro/api/mlit_station.rb +22 -0
  44. data/lib/tokyo_metro/api/mlit_station/info.rb +32 -0
  45. data/lib/tokyo_metro/api/mlit_station/list.rb +17 -0
  46. data/lib/tokyo_metro/api/passenger_survey.rb +74 -0
  47. data/lib/tokyo_metro/api/passenger_survey/info.rb +68 -0
  48. data/lib/tokyo_metro/api/passenger_survey/list.rb +40 -0
  49. data/lib/tokyo_metro/api/point.rb +98 -0
  50. data/lib/tokyo_metro/api/point/info.rb +154 -0
  51. data/lib/tokyo_metro/api/point/info/title.rb +50 -0
  52. data/lib/tokyo_metro/api/point/info/title/code.rb +83 -0
  53. data/lib/tokyo_metro/api/point/list.rb +20 -0
  54. data/lib/tokyo_metro/api/railway_line.rb +123 -0
  55. data/lib/tokyo_metro/api/railway_line/info.rb +154 -0
  56. data/lib/tokyo_metro/api/railway_line/info/meta_class.rb +2 -0
  57. data/lib/tokyo_metro/api/railway_line/info/meta_class/info.rb +12 -0
  58. data/lib/tokyo_metro/api/railway_line/info/meta_class/list.rb +17 -0
  59. data/lib/tokyo_metro/api/railway_line/info/station_order.rb +3 -0
  60. data/lib/tokyo_metro/api/railway_line/info/station_order/info.rb +47 -0
  61. data/lib/tokyo_metro/api/railway_line/info/station_order/list.rb +4 -0
  62. data/lib/tokyo_metro/api/railway_line/info/travel_time.rb +3 -0
  63. data/lib/tokyo_metro/api/railway_line/info/travel_time/info.rb +63 -0
  64. data/lib/tokyo_metro/api/railway_line/info/travel_time/list.rb +8 -0
  65. data/lib/tokyo_metro/api/railway_line/info/women_only_car.rb +3 -0
  66. data/lib/tokyo_metro/api/railway_line/info/women_only_car/info.rb +76 -0
  67. data/lib/tokyo_metro/api/railway_line/info/women_only_car/list.rb +8 -0
  68. data/lib/tokyo_metro/api/railway_line/list.rb +36 -0
  69. data/lib/tokyo_metro/api/station.rb +95 -0
  70. data/lib/tokyo_metro/api/station/info.rb +192 -0
  71. data/lib/tokyo_metro/api/station/info/common.rb +2 -0
  72. data/lib/tokyo_metro/api/station/info/common/info.rb +7 -0
  73. data/lib/tokyo_metro/api/station/info/common/list.rb +17 -0
  74. data/lib/tokyo_metro/api/station/info/connecting_railway_line.rb +3 -0
  75. data/lib/tokyo_metro/api/station/info/connecting_railway_line/info.rb +17 -0
  76. data/lib/tokyo_metro/api/station/info/connecting_railway_line/list.rb +23 -0
  77. data/lib/tokyo_metro/api/station/info/exit.rb +3 -0
  78. data/lib/tokyo_metro/api/station/info/exit/info.rb +17 -0
  79. data/lib/tokyo_metro/api/station/info/exit/list.rb +12 -0
  80. data/lib/tokyo_metro/api/station/info/link_to_passenger_survey.rb +3 -0
  81. data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/info.rb +17 -0
  82. data/lib/tokyo_metro/api/station/info/link_to_passenger_survey/list.rb +8 -0
  83. data/lib/tokyo_metro/api/station/list.rb +94 -0
  84. data/lib/tokyo_metro/api/station_facility.rb +69 -0
  85. data/lib/tokyo_metro/api/station_facility/info.rb +76 -0
  86. data/lib/tokyo_metro/api/station_facility/info/barrier_free.rb +41 -0
  87. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility.rb +3 -0
  88. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator.rb +6 -0
  89. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/elevator/info.rb +10 -0
  90. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator.rb +6 -0
  91. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/info.rb +34 -0
  92. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
  93. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
  94. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +40 -0
  95. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/list.rb +3 -0
  96. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter.rb +6 -0
  97. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/link_for_mobility_scooter/info.rb +10 -0
  98. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class.rb +2 -0
  99. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +2 -0
  100. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift/info.rb +11 -0
  101. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift.rb +6 -0
  102. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/stairlift/info.rb +10 -0
  103. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet.rb +6 -0
  104. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +47 -0
  105. data/lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/info.rb +36 -0
  106. data/lib/tokyo_metro/api/station_facility/info/barrier_free/info.rb +96 -0
  107. data/lib/tokyo_metro/api/station_facility/info/barrier_free/list.rb +22 -0
  108. data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail.rb +2 -0
  109. data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/info.rb +117 -0
  110. data/lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb +26 -0
  111. data/lib/tokyo_metro/api/station_facility/info/platform.rb +3 -0
  112. data/lib/tokyo_metro/api/station_facility/info/platform/info.rb +95 -0
  113. data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free.rb +2 -0
  114. data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
  115. data/lib/tokyo_metro/api/station_facility/info/platform/info/barrier_free/list.rb +7 -0
  116. data/lib/tokyo_metro/api/station_facility/info/platform/info/common.rb +2 -0
  117. data/lib/tokyo_metro/api/station_facility/info/platform/info/common/info.rb +7 -0
  118. data/lib/tokyo_metro/api/station_facility/info/platform/info/common/list.rb +10 -0
  119. data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
  120. data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/info.rb +17 -0
  121. data/lib/tokyo_metro/api/station_facility/info/platform/info/surrounding_area/list.rb +7 -0
  122. data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer.rb +2 -0
  123. data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/info.rb +32 -0
  124. data/lib/tokyo_metro/api/station_facility/info/platform/info/transfer/list.rb +8 -0
  125. data/lib/tokyo_metro/api/station_facility/info/platform/list.rb +22 -0
  126. data/lib/tokyo_metro/api/station_facility/list.rb +38 -0
  127. data/lib/tokyo_metro/api/station_timetable.rb +162 -0
  128. data/lib/tokyo_metro/api/station_timetable/info.rb +405 -0
  129. data/lib/tokyo_metro/api/station_timetable/info/fundamental.rb +2 -0
  130. data/lib/tokyo_metro/api/station_timetable/info/fundamental/info.rb +58 -0
  131. data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated.rb +2 -0
  132. data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/info.rb +24 -0
  133. data/lib/tokyo_metro/api/station_timetable/info/fundamental/info/separated/list.rb +14 -0
  134. data/lib/tokyo_metro/api/station_timetable/info/fundamental/list.rb +28 -0
  135. data/lib/tokyo_metro/api/station_timetable/info/hash.rb +35 -0
  136. data/lib/tokyo_metro/api/station_timetable/info/train_time.rb +2 -0
  137. data/lib/tokyo_metro/api/station_timetable/info/train_time/info.rb +254 -0
  138. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note.rb +56 -0
  139. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/arrive_at.rb +82 -0
  140. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/connection_info.rb +24 -0
  141. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/list.rb +23 -0
  142. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/platform_number.rb +44 -0
  143. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +3 -0
  144. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/no_connection.rb +23 -0
  145. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/shirokane_takanawa/toei_mita_line_connected_to_namboku_line.rb +29 -0
  146. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/start_from_this_station.rb +16 -0
  147. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station.rb +19 -0
  148. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/ayase.rb +11 -0
  149. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/fundamental.rb +28 -0
  150. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/starting_station/wakoshi.rb +11 -0
  151. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +3 -0
  152. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +3 -0
  153. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara/connected_for_wakoshi.rb +22 -0
  154. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +3 -0
  155. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/fundamental.rb +36 -0
  156. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro.rb +23 -0
  157. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/fundamental.rb +19 -0
  158. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/local.rb +11 -0
  159. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid.rb +11 -0
  160. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/rapid_express.rb +11 -0
  161. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/seibu_ikebukuro/semi_express.rb +11 -0
  162. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo.rb +17 -0
  163. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/fundamental.rb +17 -0
  164. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tobu_tojo/local.rb +11 -0
  165. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko.rb +22 -0
  166. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/commuter_limited_express.rb +11 -0
  167. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/express.rb +11 -0
  168. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/fundamental.rb +17 -0
  169. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/limited_express.rb +11 -0
  170. data/lib/tokyo_metro/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type/tokyu_toyoko/local.rb +11 -0
  171. data/lib/tokyo_metro/api/station_timetable/info/train_time/list.rb +122 -0
  172. data/lib/tokyo_metro/api/station_timetable/list.rb +27 -0
  173. data/lib/tokyo_metro/api/station_train_time.rb +106 -0
  174. data/lib/tokyo_metro/api/train_location.rb +124 -0
  175. data/lib/tokyo_metro/api/train_location/info.rb +229 -0
  176. data/lib/tokyo_metro/api/train_location/info/delay.rb +104 -0
  177. data/lib/tokyo_metro/api/train_location/list.rb +35 -0
  178. data/lib/tokyo_metro/api/train_operation.rb +81 -0
  179. data/lib/tokyo_metro/api/train_operation/info.rb +150 -0
  180. data/lib/tokyo_metro/api/train_operation/info/basic_error.rb +13 -0
  181. data/lib/tokyo_metro/api/train_operation/info/json_parser_error.rb +11 -0
  182. data/lib/tokyo_metro/api/train_operation/info/network_error.rb +11 -0
  183. data/lib/tokyo_metro/api/train_operation/list.rb +22 -0
  184. data/lib/tokyo_metro/api/train_timetable.rb +70 -0
  185. data/lib/tokyo_metro/api/train_timetable/info.rb +231 -0
  186. data/lib/tokyo_metro/api/train_timetable/info/station_time.rb +2 -0
  187. data/lib/tokyo_metro/api/train_timetable/info/station_time/info.rb +104 -0
  188. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
  189. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
  190. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/info.rb +11 -0
  191. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/following/list.rb +11 -0
  192. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
  193. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +21 -0
  194. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +29 -0
  195. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
  196. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +11 -0
  197. data/lib/tokyo_metro/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +11 -0
  198. data/lib/tokyo_metro/api/train_timetable/info/station_time/list.rb +47 -0
  199. data/lib/tokyo_metro/api/train_timetable/list.rb +53 -0
  200. data/lib/tokyo_metro/api_processor.rb +2 -0
  201. data/lib/tokyo_metro/api_processor/real_time_infos.rb +185 -0
  202. data/lib/tokyo_metro/api_processor/real_time_infos/info.rb +28 -0
  203. data/lib/tokyo_metro/api_processor/real_time_infos/list.rb +39 -0
  204. data/lib/tokyo_metro/api_processor/real_time_infos/provision_status.rb +31 -0
  205. data/lib/tokyo_metro/app.rb +2 -0
  206. data/lib/tokyo_metro/app/renderer.rb +2 -0
  207. data/lib/tokyo_metro/app/renderer/color_box.rb +41 -0
  208. data/lib/tokyo_metro/app/renderer/concerns.rb +2 -0
  209. data/lib/tokyo_metro/app/renderer/concerns/header.rb +2 -0
  210. data/lib/tokyo_metro/app/renderer/concerns/header/content.rb +119 -0
  211. data/lib/tokyo_metro/app/renderer/concerns/header/content/size_changing_button_type.rb +14 -0
  212. data/lib/tokyo_metro/app/renderer/concerns/header/meta_class.rb +30 -0
  213. data/lib/tokyo_metro/app/renderer/concerns/header/selection.rb +58 -0
  214. data/lib/tokyo_metro/app/renderer/concerns/header/title.rb +52 -0
  215. data/lib/tokyo_metro/app/renderer/concerns/header/title/base.rb +29 -0
  216. data/lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb +11 -0
  217. data/lib/tokyo_metro/app/renderer/concerns/header/title/meta_class.rb +15 -0
  218. data/lib/tokyo_metro/app/renderer/concerns/header/title/sub_content.rb +14 -0
  219. data/lib/tokyo_metro/app/renderer/concerns/header/title/top.rb +16 -0
  220. data/lib/tokyo_metro/app/renderer/concerns/link.rb +2 -0
  221. data/lib/tokyo_metro/app/renderer/concerns/link/normal.rb +2 -0
  222. data/lib/tokyo_metro/app/renderer/concerns/link/normal/meta_class.rb +162 -0
  223. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page.rb +2 -0
  224. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +2 -0
  225. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_platform_info.rb +103 -0
  226. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_railway_line_page.rb +57 -0
  227. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/from_station_facility_page.rb +9 -0
  228. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line/meta_class.rb +66 -0
  229. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb +49 -0
  230. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/from_station_facility_page.rb +22 -0
  231. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class.rb +124 -0
  232. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class/group.rb +32 -0
  233. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/passenger_survey.rb +68 -0
  234. data/lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/real_time_infos.rb +40 -0
  235. data/lib/tokyo_metro/app/renderer/connecting_railway_line.rb +2 -0
  236. data/lib/tokyo_metro/app/renderer/connecting_railway_line/link_to_railway_line_page.rb +2 -0
  237. data/lib/tokyo_metro/app/renderer/document.rb +2 -0
  238. data/lib/tokyo_metro/app/renderer/document/link.rb +33 -0
  239. data/lib/tokyo_metro/app/renderer/document/size_changing_button.rb +25 -0
  240. data/lib/tokyo_metro/app/renderer/fare_table.rb +2 -0
  241. data/lib/tokyo_metro/app/renderer/fare_table/group.rb +50 -0
  242. data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page.rb +2 -0
  243. data/lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb +26 -0
  244. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line.rb +162 -0
  245. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/rows.rb +41 -0
  246. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos.rb +7 -0
  247. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_info.rb +72 -0
  248. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list.rb +10 -0
  249. data/lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list/factory.rb +64 -0
  250. data/lib/tokyo_metro/app/renderer/icon.rb +32 -0
  251. data/lib/tokyo_metro/app/renderer/icon/font_awesome.rb +44 -0
  252. data/lib/tokyo_metro/app/renderer/icon/font_awesome/stacked.rb +30 -0
  253. data/lib/tokyo_metro/app/renderer/icon/image.rb +27 -0
  254. data/lib/tokyo_metro/app/renderer/passenger_survey.rb +2 -0
  255. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu.rb +2 -0
  256. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/index.rb +2 -0
  257. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/link_to_railway_line_page.rb +2 -0
  258. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class.rb +100 -0
  259. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/meta_class/each_year.rb +83 -0
  260. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/railway_line.rb +2 -0
  261. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/station.rb +51 -0
  262. data/lib/tokyo_metro/app/renderer/passenger_survey/side_menu/year.rb +16 -0
  263. data/lib/tokyo_metro/app/renderer/passenger_survey/table.rb +2 -0
  264. data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class.rb +54 -0
  265. data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/header.rb +55 -0
  266. data/lib/tokyo_metro/app/renderer/passenger_survey/table/meta_class/row.rb +66 -0
  267. data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line.rb +35 -0
  268. data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/header.rb +30 -0
  269. data/lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/row.rb +58 -0
  270. data/lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb +25 -0
  271. data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/header.rb +13 -0
  272. data/lib/tokyo_metro/app/renderer/passenger_survey/table/station/row.rb +29 -0
  273. data/lib/tokyo_metro/app/renderer/passenger_survey/table/year.rb +23 -0
  274. data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/header.rb +12 -0
  275. data/lib/tokyo_metro/app/renderer/passenger_survey/table/year/row.rb +24 -0
  276. data/lib/tokyo_metro/app/renderer/railway_line.rb +2 -0
  277. data/lib/tokyo_metro/app/renderer/railway_line/link_to_page.rb +2 -0
  278. data/lib/tokyo_metro/app/renderer/railway_line/links.rb +2 -0
  279. data/lib/tokyo_metro/app/renderer/railway_line/links/header.rb +14 -0
  280. data/lib/tokyo_metro/app/renderer/real_time_infos.rb +199 -0
  281. data/lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb +146 -0
  282. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum.rb +2 -0
  283. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/meta_class.rb +114 -0
  284. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_location_infos.rb +81 -0
  285. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb +21 -0
  286. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole.rb +46 -0
  287. data/lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole/header.rb +23 -0
  288. data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu.rb +2 -0
  289. data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page.rb +2 -0
  290. data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/link_to_railway_line_page/each_controller.rb +54 -0
  291. data/lib/tokyo_metro/app/renderer/real_time_infos/side_menu/links_to_railway_line_pages.rb +46 -0
  292. data/lib/tokyo_metro/app/renderer/rss.rb +20 -0
  293. data/lib/tokyo_metro/app/renderer/side_menu.rb +29 -0
  294. data/lib/tokyo_metro/app/renderer/side_menu/link.rb +2 -0
  295. data/lib/tokyo_metro/app/renderer/side_menu/link/list.rb +96 -0
  296. data/lib/tokyo_metro/app/renderer/side_menu/link/meta_class.rb +17 -0
  297. data/lib/tokyo_metro/app/renderer/side_menu/link/to_document.rb +78 -0
  298. data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content.rb +2 -0
  299. data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/index.rb +141 -0
  300. data/lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/of_station.rb +95 -0
  301. data/lib/tokyo_metro/app/renderer/side_menu/link/to_other_website.rb +48 -0
  302. data/lib/tokyo_metro/app/renderer/side_menu/now_developing.rb +35 -0
  303. data/lib/tokyo_metro/app/renderer/side_menu/now_developing/header.rb +19 -0
  304. data/lib/tokyo_metro/app/renderer/side_menu/problems.rb +54 -0
  305. data/lib/tokyo_metro/app/renderer/side_menu/problems/header.rb +19 -0
  306. data/lib/tokyo_metro/app/renderer/station_code.rb +2 -0
  307. data/lib/tokyo_metro/app/renderer/station_code/normal.rb +37 -0
  308. data/lib/tokyo_metro/app/renderer/station_facility.rb +2 -0
  309. data/lib/tokyo_metro/app/renderer/station_facility/header.rb +2 -0
  310. data/lib/tokyo_metro/app/renderer/station_facility/header/barrier_free_info.rb +14 -0
  311. data/lib/tokyo_metro/app/renderer/station_facility/header/platform_info.rb +14 -0
  312. data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines.rb +2 -0
  313. data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/other_operators.rb +14 -0
  314. data/lib/tokyo_metro/app/renderer/station_facility/header/railway_lines/the_same_operator.rb +14 -0
  315. data/lib/tokyo_metro/app/renderer/station_facility/platform.rb +155 -0
  316. data/lib/tokyo_metro/app/renderer/station_facility/platform/info.rb +2 -0
  317. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +2 -0
  318. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/common.rb +15 -0
  319. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa/of_special_direction.rb +7 -0
  320. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +2 -0
  321. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/each_direction.rb +22 -0
  322. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai/whole.rb +5 -0
  323. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +2 -0
  324. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/common.rb +15 -0
  325. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara/of_special_direction.rb +7 -0
  326. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +2 -0
  327. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/each_direction.rb +22 -0
  328. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/kotake_mukaihara/whole.rb +5 -0
  329. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +2 -0
  330. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/each_direction.rb +22 -0
  331. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/whole.rb +5 -0
  332. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class.rb +2 -0
  333. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/common.rb +83 -0
  334. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/each_direction.rb +116 -0
  335. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row.rb +2 -0
  336. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +2 -0
  337. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/inside.rb +13 -0
  338. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/meta_class.rb +13 -0
  339. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos/outside.rb +13 -0
  340. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/meta_class.rb +98 -0
  341. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/surrounding_area_infos.rb +13 -0
  342. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos.rb +24 -0
  343. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/table_row/transfer_infos/link_to_railway_line_page.rb +2 -0
  344. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/meta_class/whole.rb +56 -0
  345. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +2 -0
  346. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/common.rb +15 -0
  347. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/each_direction.rb +42 -0
  348. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/multiple_railway_lines/whole.rb +24 -0
  349. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal.rb +2 -0
  350. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/common.rb +21 -0
  351. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/each_direction.rb +11 -0
  352. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/whole.rb +22 -0
  353. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +2 -0
  354. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb +21 -0
  355. data/lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/whole.rb +5 -0
  356. data/lib/tokyo_metro/app/renderer/station_facility/platform/list.rb +29 -0
  357. data/lib/tokyo_metro/app/renderer/station_link_list.rb +27 -0
  358. data/lib/tokyo_metro/app/renderer/station_link_list/english.rb +41 -0
  359. data/lib/tokyo_metro/app/renderer/station_link_list/japanese.rb +42 -0
  360. data/lib/tokyo_metro/app/renderer/station_link_list/meta_class.rb +68 -0
  361. data/lib/tokyo_metro/app/renderer/station_matrix.rb +32 -0
  362. data/lib/tokyo_metro/app/renderer/station_timetable.rb +2 -0
  363. data/lib/tokyo_metro/app/renderer/station_timetable/group.rb +52 -0
  364. data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line.rb +55 -0
  365. data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction.rb +72 -0
  366. data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day.rb +69 -0
  367. data/lib/tokyo_metro/app/renderer/station_timetable/group/each_railway_line/each_direction/each_operation_day/station_train_times.rb +163 -0
  368. data/lib/tokyo_metro/app/renderer/travel_time_info.rb +2 -0
  369. data/lib/tokyo_metro/app/renderer/travel_time_info/header.rb +14 -0
  370. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class.rb +2 -0
  371. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/columns.rb +7 -0
  372. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/common.rb +138 -0
  373. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/multiple_railway_lines.rb +33 -0
  374. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/one_railway_line.rb +22 -0
  375. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row.rb +2 -0
  376. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/section.rb +71 -0
  377. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station.rb +72 -0
  378. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/row/station/link_to_railway_line_page.rb +2 -0
  379. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation.rb +83 -0
  380. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type.rb +74 -0
  381. data/lib/tokyo_metro/app/renderer/travel_time_info/meta_class/through_operation/each_type/railway_line_and_terminal_station.rb +31 -0
  382. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line.rb +57 -0
  383. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line.rb +34 -0
  384. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom.rb +50 -0
  385. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/chiyoda_branch_line.rb +29 -0
  386. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/bottom/to_jr_joban_line.rb +21 -0
  387. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top.rb +16 -0
  388. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_romance_car.rb +26 -0
  389. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_semi_express.rb +21 -0
  390. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/chiyoda_line/top/to_odakyu_tama_express.rb +19 -0
  391. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line.rb +29 -0
  392. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom.rb +10 -0
  393. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/bottom/to_tokyu_toyoko_and_minatomirai_line.rb +20 -0
  394. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/fukutoshin_line/top.rb +22 -0
  395. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/ginza_line.rb +31 -0
  396. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line.rb +17 -0
  397. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom.rb +10 -0
  398. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/bottom/to_tobu_line.rb +27 -0
  399. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top.rb +10 -0
  400. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hanzomon_line/top/to_tokyu_den_en_toshi_line.rb +17 -0
  401. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line.rb +11 -0
  402. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom.rb +10 -0
  403. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/hibiya_line/bottom/to_tobu_line.rb +19 -0
  404. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/marunouchi_line.rb +18 -0
  405. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line.rb +21 -0
  406. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom.rb +10 -0
  407. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/bottom/to_saitama_railway_line.rb +17 -0
  408. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top.rb +10 -0
  409. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/namboku_line/top/to_tokyu_meguro_line.rb +17 -0
  410. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line.rb +25 -0
  411. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom.rb +37 -0
  412. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_jr_sobu_line.rb +14 -0
  413. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_toyo_rapid_railway_line.rb +13 -0
  414. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top.rb +10 -0
  415. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/top/to_jr_chuo_line.rb +13 -0
  416. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
  417. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top.rb +17 -0
  418. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_seibu_ikebukuro_line.rb +21 -0
  419. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line/top/to_tobu_tojo_line.rb +21 -0
  420. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line.rb +19 -0
  421. data/lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line/top.rb +22 -0
  422. data/lib/tokyo_metro/app/renderer/twitter.rb +68 -0
  423. data/lib/tokyo_metro/app/renderer/twitter/header.rb +22 -0
  424. data/lib/tokyo_metro/app/renderer/women_only_car_info.rb +43 -0
  425. data/lib/tokyo_metro/app/renderer/women_only_car_info/each_railway.rb +52 -0
  426. data/lib/tokyo_metro/app/renderer/women_only_car_info/header.rb +14 -0
  427. data/lib/tokyo_metro/class_name_library.rb +3 -0
  428. data/lib/tokyo_metro/class_name_library/api.rb +3 -0
  429. data/lib/tokyo_metro/class_name_library/api/fare.rb +125 -0
  430. data/lib/tokyo_metro/class_name_library/api/mlit_railway_line.rb +112 -0
  431. data/lib/tokyo_metro/class_name_library/api/mlit_station.rb +113 -0
  432. data/lib/tokyo_metro/class_name_library/api/passenger_survey.rb +124 -0
  433. data/lib/tokyo_metro/class_name_library/api/point.rb +150 -0
  434. data/lib/tokyo_metro/class_name_library/api/railway_line.rb +186 -0
  435. data/lib/tokyo_metro/class_name_library/api/station.rb +218 -0
  436. data/lib/tokyo_metro/class_name_library/api/station_facility.rb +389 -0
  437. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free.rb +3 -0
  438. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/elevator.rb +30 -0
  439. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/escalator.rb +36 -0
  440. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/link_for_mobility_scooter.rb +36 -0
  441. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/meta_class.rb +39 -0
  442. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/stairlift.rb +30 -0
  443. data/lib/tokyo_metro/class_name_library/api/station_facility/barrier_free/toilet.rb +30 -0
  444. data/lib/tokyo_metro/class_name_library/api/station_timetable.rb +197 -0
  445. data/lib/tokyo_metro/class_name_library/api/station_train_time.rb +17 -0
  446. data/lib/tokyo_metro/class_name_library/api/station_train_time/db.rb +33 -0
  447. data/lib/tokyo_metro/class_name_library/api/train_location.rb +112 -0
  448. data/lib/tokyo_metro/class_name_library/api/train_operation.rb +112 -0
  449. data/lib/tokyo_metro/class_name_library/api/train_timetable.rb +178 -0
  450. data/lib/tokyo_metro/class_name_library/static.rb +3 -0
  451. data/lib/tokyo_metro/class_name_library/static/color.rb +17 -0
  452. data/lib/tokyo_metro/class_name_library/static/fare.rb +52 -0
  453. data/lib/tokyo_metro/class_name_library/static/operation_day.rb +48 -0
  454. data/lib/tokyo_metro/class_name_library/static/operator.rb +55 -0
  455. data/lib/tokyo_metro/class_name_library/static/railway_direction.rb +52 -0
  456. data/lib/tokyo_metro/class_name_library/static/railway_line.rb +67 -0
  457. data/lib/tokyo_metro/class_name_library/static/station.rb +142 -0
  458. data/lib/tokyo_metro/class_name_library/static/stations_in_tokyo_metro.rb +48 -0
  459. data/lib/tokyo_metro/class_name_library/static/train_operation_status.rb +48 -0
  460. data/lib/tokyo_metro/class_name_library/static/train_owner.rb +48 -0
  461. data/lib/tokyo_metro/class_name_library/static/train_type.rb +3 -0
  462. data/lib/tokyo_metro/class_name_library/static/train_type/color.rb +36 -0
  463. data/lib/tokyo_metro/class_name_library/static/train_type/custom.rb +3 -0
  464. data/lib/tokyo_metro/class_name_library/static/train_type/custom/default_setting.rb +36 -0
  465. data/lib/tokyo_metro/class_name_library/static/train_type/custom/main.rb +139 -0
  466. data/lib/tokyo_metro/class_name_library/static/train_type/custom/other_operator.rb +43 -0
  467. data/lib/tokyo_metro/class_name_library/static/train_type/in_api.rb +48 -0
  468. data/lib/tokyo_metro/dictionary.rb +9 -0
  469. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/ignored_railway_lines.yaml +7 -0
  470. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/index_in_stations.yaml +660 -0
  471. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/new_and_old_railway_lines.yaml +29 -0
  472. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/optional_railway_lines.yaml +41 -0
  473. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/replacing_railway_lines.yaml +19 -0
  474. data/lib/tokyo_metro/dictionary/additional_infos/customize/station/connecting_railway_line/transfer_additional_infos.yaml +440 -0
  475. data/lib/tokyo_metro/dictionary/additional_infos/customize/station_facility/transfer_info/replacing_railway_lines.yaml +82 -0
  476. data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/ignored_station_timetables.yaml +15 -0
  477. data/lib/tokyo_metro/dictionary/additional_infos/customize/station_timetable/replacing_infos.yaml +435 -0
  478. data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/starting_and_terminal_stations.yaml +37 -0
  479. data/lib/tokyo_metro/dictionary/additional_infos/customize/train_timetable/marunouchi_branch_line/train_relations.yaml +20 -0
  480. data/lib/tokyo_metro/dictionary/additional_infos/patches/station/connecting_railway_line/ignored_railway_lines.yaml +67 -0
  481. data/lib/tokyo_metro/dictionary/additional_infos/patches/station_facility/surrounding_areas.yaml +1 -0
  482. data/lib/tokyo_metro/dictionary/additional_infos/patches/train_timetable/yurakucho_and_fukutoshin_line/invalid_trains_on_yurakucho_line.yaml +44 -0
  483. data/lib/tokyo_metro/dictionary/english.yaml +7 -0
  484. data/lib/tokyo_metro/dictionary/fare/20140401_normal.yaml +25 -0
  485. data/lib/tokyo_metro/dictionary/models.yaml +97 -0
  486. data/lib/tokyo_metro/dictionary/operation_day.yaml +44 -0
  487. data/lib/tokyo_metro/dictionary/operator.yaml +292 -0
  488. data/lib/tokyo_metro/dictionary/railway_direction.yaml +288 -0
  489. data/lib/tokyo_metro/dictionary/railway_line.yaml +881 -0
  490. data/lib/tokyo_metro/dictionary/railway_line/tokyo_metro_lines_in_system.yaml +11 -0
  491. data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_kaisoku.yaml +12 -0
  492. data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/chuo_sobu.yaml +8 -0
  493. data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/keihin_tohoku.yaml +18 -0
  494. data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/sobu.yaml +8 -0
  495. data/lib/tokyo_metro/dictionary/station/appeared_in_connecting_railway_line_info/jr/yamanote.yaml +26 -0
  496. data/lib/tokyo_metro/dictionary/station/file_list.yaml +241 -0
  497. data/lib/tokyo_metro/dictionary/station/frequently_appeared.yaml +45 -0
  498. data/lib/tokyo_metro/dictionary/station/other_operator/jr/chuo_tozai.yaml +64 -0
  499. data/lib/tokyo_metro/dictionary/station/other_operator/jr/joban_local.yaml +148 -0
  500. data/lib/tokyo_metro/dictionary/station/other_operator/jr/sobu_tozai.yaml +41 -0
  501. data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/enoshima.yaml +192 -0
  502. data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/hakone_tozan.yaml +62 -0
  503. data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/odawara.yaml +629 -0
  504. data/lib/tokyo_metro/dictionary/station/other_operator/odakyu/tama.yaml +110 -0
  505. data/lib/tokyo_metro/dictionary/station/other_operator/saitama_railway/saitama_railway.yaml +74 -0
  506. data/lib/tokyo_metro/dictionary/station/other_operator/seibu/ikebukuro.yaml +448 -0
  507. data/lib/tokyo_metro/dictionary/station/other_operator/seibu/sayama.yaml +30 -0
  508. data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_chichibu.yaml +65 -0
  509. data/lib/tokyo_metro/dictionary/station/other_operator/seibu/seibu_yurakucho.yaml +37 -0
  510. data/lib/tokyo_metro/dictionary/station/other_operator/seibu/toshima.yaml +22 -0
  511. data/lib/tokyo_metro/dictionary/station/other_operator/tobu/isesaki.yaml +305 -0
  512. data/lib/tokyo_metro/dictionary/station/other_operator/tobu/kinugawa.yaml +80 -0
  513. data/lib/tokyo_metro/dictionary/station/other_operator/tobu/nikko.yaml +315 -0
  514. data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree.yaml +365 -0
  515. data/lib/tokyo_metro/dictionary/station/other_operator/tobu/skytree_oshiage.yaml +25 -0
  516. data/lib/tokyo_metro/dictionary/station/other_operator/tobu_tojo/tojo.yaml +486 -0
  517. data/lib/tokyo_metro/dictionary/station/other_operator/toei/asakusa.yaml +219 -0
  518. data/lib/tokyo_metro/dictionary/station/other_operator/toei/mita.yaml +282 -0
  519. data/lib/tokyo_metro/dictionary/station/other_operator/toei/oedo.yaml +386 -0
  520. data/lib/tokyo_metro/dictionary/station/other_operator/toei/shinjuku.yaml +233 -0
  521. data/lib/tokyo_metro/dictionary/station/other_operator/toei/toden_arakawa.yaml +271 -0
  522. data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/den_en_toshi.yaml +309 -0
  523. data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/meguro.yaml +148 -0
  524. data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/minatomirai.yaml +70 -0
  525. data/lib/tokyo_metro/dictionary/station/other_operator/tokyu_and_mm/toyoko.yaml +246 -0
  526. data/lib/tokyo_metro/dictionary/station/other_operator/toyo_rapid/toyo_rapid.yaml +99 -0
  527. data/lib/tokyo_metro/dictionary/station/same_as_in_db.yaml +8 -0
  528. data/lib/tokyo_metro/dictionary/station/tokyo_metro.yaml +146 -0
  529. data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda.yaml +210 -0
  530. data/lib/tokyo_metro/dictionary/station/tokyo_metro/chiyoda_branch.yaml +26 -0
  531. data/lib/tokyo_metro/dictionary/station/tokyo_metro/fukutoshin.yaml +214 -0
  532. data/lib/tokyo_metro/dictionary/station/tokyo_metro/ginza.yaml +191 -0
  533. data/lib/tokyo_metro/dictionary/station/tokyo_metro/hanzomon.yaml +159 -0
  534. data/lib/tokyo_metro/dictionary/station/tokyo_metro/hibiya.yaml +219 -0
  535. data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi.yaml +249 -0
  536. data/lib/tokyo_metro/dictionary/station/tokyo_metro/marunouchi_branch.yaml +39 -0
  537. data/lib/tokyo_metro/dictionary/station/tokyo_metro/namboku.yaml +215 -0
  538. data/lib/tokyo_metro/dictionary/station/tokyo_metro/tozai.yaml +281 -0
  539. data/lib/tokyo_metro/dictionary/station/tokyo_metro/yurakucho.yaml +277 -0
  540. data/lib/tokyo_metro/dictionary/stations_in_tokyo_metro.yaml +928 -0
  541. data/lib/tokyo_metro/dictionary/stopping_pattern.yaml +6 -0
  542. data/lib/tokyo_metro/dictionary/train_operation_status.yaml +120 -0
  543. data/lib/tokyo_metro/dictionary/train_owner.yaml +35 -0
  544. data/lib/tokyo_metro/dictionary/train_type/color.yaml +33 -0
  545. data/lib/tokyo_metro/dictionary/train_type/default_settings.yaml +64 -0
  546. data/lib/tokyo_metro/dictionary/train_type/in_api.yaml +98 -0
  547. data/lib/tokyo_metro/dictionary/train_type/other_operator/odakyu.yaml +54 -0
  548. data/lib/tokyo_metro/dictionary/train_type/other_operator/seibu.yaml +48 -0
  549. data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu.yaml +24 -0
  550. data/lib/tokyo_metro/dictionary/train_type/other_operator/tobu_tojo.yaml +9 -0
  551. data/lib/tokyo_metro/dictionary/train_type/other_operator/tokyu.yaml +98 -0
  552. data/lib/tokyo_metro/dictionary/train_type/other_operator/toyo_rapid_railway.yaml +13 -0
  553. data/lib/tokyo_metro/dictionary/train_type/romance_car_train_names.yaml +12 -0
  554. data/lib/tokyo_metro/dictionary/train_type/toei/asakusa.yaml +28 -0
  555. data/lib/tokyo_metro/dictionary/train_type/toei/mita.yaml +40 -0
  556. data/lib/tokyo_metro/dictionary/train_type/toei/oedo.yaml +15 -0
  557. data/lib/tokyo_metro/dictionary/train_type/toei/shinjuku.yaml +25 -0
  558. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda.yaml +74 -0
  559. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/chiyoda_romance_car.yaml +125 -0
  560. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/ginza.yaml +9 -0
  561. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hanzomon.yaml +83 -0
  562. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/hibiya.yaml +13 -0
  563. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/marunouchi.yaml +21 -0
  564. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/namboku.yaml +36 -0
  565. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/tozai.yaml +190 -0
  566. data/lib/tokyo_metro/dictionary/train_type/tokyo_metro/yurakucho_fukutoshin.yaml +194 -0
  567. data/lib/tokyo_metro/dictionary/train_type_basename_in_api.yaml +14 -0
  568. data/lib/tokyo_metro/dictionary/view/icon/font_awesome_icon.yaml +228 -0
  569. data/lib/tokyo_metro/dictionary/view/icon/image.yaml +1 -0
  570. data/lib/tokyo_metro/dictionary/view/rss.yaml +12 -0
  571. data/lib/tokyo_metro/dictionary/view/train_operation_status_for_test.yaml +30 -0
  572. data/lib/tokyo_metro/document.rb +53 -0
  573. data/lib/tokyo_metro/document/gviz.rb +9 -0
  574. data/lib/tokyo_metro/document/gviz/convert_to_image.rb +23 -0
  575. data/lib/tokyo_metro/document/gviz/dir_graph.rb +68 -0
  576. data/lib/tokyo_metro/document/gviz/ruby_graph.rb +30 -0
  577. data/lib/tokyo_metro/document/make_examples.rb +2 -0
  578. data/lib/tokyo_metro/document/make_examples/static.rb +19 -0
  579. data/lib/tokyo_metro/document/make_examples/static/each_file.rb +27 -0
  580. data/lib/tokyo_metro/document/make_examples/static/each_file/each_method.rb +73 -0
  581. data/lib/tokyo_metro/factory.rb +3 -0
  582. data/lib/tokyo_metro/factory/before_decorate.rb +2 -0
  583. data/lib/tokyo_metro/factory/before_decorate/api.rb +2 -0
  584. data/lib/tokyo_metro/factory/before_decorate/api/train_location.rb +2 -0
  585. data/lib/tokyo_metro/factory/before_decorate/api/train_location/info.rb +89 -0
  586. data/lib/tokyo_metro/factory/before_decorate/api/train_location/list.rb +13 -0
  587. data/lib/tokyo_metro/factory/before_seed.rb +2 -0
  588. data/lib/tokyo_metro/factory/before_seed/api.rb +2 -0
  589. data/lib/tokyo_metro/factory/before_seed/api/meta_class.rb +2 -0
  590. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables.rb +2 -0
  591. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type.rb +192 -0
  592. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type/pattern.rb +35 -0
  593. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules.rb +2 -0
  594. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/convert_railway_line.rb +13 -0
  595. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/current_station.rb +11 -0
  596. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/operation_day.rb +13 -0
  597. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/process_patterns.rb +39 -0
  598. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/railway_line.rb +13 -0
  599. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/regexp_library.rb +83 -0
  600. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/starting_station.rb +14 -0
  601. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/terminal_station.rb +14 -0
  602. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/train_type.rb +16 -0
  603. data/lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/yurakucho_and_fukutoshin_line.rb +62 -0
  604. data/lib/tokyo_metro/factory/before_seed/api/station_timetable.rb +2 -0
  605. data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info.rb +2 -0
  606. data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time.rb +2 -0
  607. data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info.rb +2 -0
  608. data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type.rb +88 -0
  609. data/lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb +18 -0
  610. data/lib/tokyo_metro/factory/before_seed/api/train_timetable.rb +2 -0
  611. data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info.rb +2 -0
  612. data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type.rb +71 -0
  613. data/lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type/pattern.rb +18 -0
  614. data/lib/tokyo_metro/factory/common.rb +2 -0
  615. data/lib/tokyo_metro/factory/convert.rb +2 -0
  616. data/lib/tokyo_metro/factory/convert/common.rb +2 -0
  617. data/lib/tokyo_metro/factory/convert/common/api.rb +2 -0
  618. data/lib/tokyo_metro/factory/convert/common/api/meta_class.rb +2 -0
  619. data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb +29 -0
  620. data/lib/tokyo_metro/factory/convert/common/api/meta_class/converter/info_for_conversion.rb +52 -0
  621. data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental.rb +9 -0
  622. data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/normal.rb +8 -0
  623. data/lib/tokyo_metro/factory/convert/common/api/meta_class/fundamental/updated.rb +12 -0
  624. data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos.rb +2 -0
  625. data/lib/tokyo_metro/factory/convert/common/api/meta_class/station_infos/railway_line.rb +65 -0
  626. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos.rb +2 -0
  627. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line.rb +2 -0
  628. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/chiyoda_branch_line/info.rb +19 -0
  629. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station.rb +2 -0
  630. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_starting_station/info.rb +15 -0
  631. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station.rb +2 -0
  632. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/customize_terminal_station/info.rb +15 -0
  633. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line.rb +2 -0
  634. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/marunouchi_branch_line/info.rb +19 -0
  635. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class.rb +2 -0
  636. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station.rb +2 -0
  637. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/starting_station/info.rb +7 -0
  638. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
  639. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/station_name/info.rb +33 -0
  640. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station.rb +2 -0
  641. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/meta_class/terminal_station/info.rb +7 -0
  642. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi.rb +2 -0
  643. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_from_musashi_kosugi/info.rb +13 -0
  644. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi.rb +2 -0
  645. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/namboku_line_to_musashi_kosugi/info.rb +13 -0
  646. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car.rb +2 -0
  647. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/romance_car/info.rb +32 -0
  648. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line.rb +2 -0
  649. data/lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line/info.rb +41 -0
  650. data/lib/tokyo_metro/factory/convert/common/api/station.rb +2 -0
  651. data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line.rb +2 -0
  652. data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info.rb +36 -0
  653. data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
  654. data/lib/tokyo_metro/factory/convert/common/api/station/connecting_railway_line/info/connecting_railway_line/info.rb +20 -0
  655. data/lib/tokyo_metro/factory/convert/common/api/station/station_code.rb +15 -0
  656. data/lib/tokyo_metro/factory/convert/common/api/station_facility.rb +2 -0
  657. data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free.rb +2 -0
  658. data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility.rb +2 -0
  659. data/lib/tokyo_metro/factory/convert/common/api/station_facility/barrier_free/facility/escalator.rb +50 -0
  660. data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform.rb +21 -0
  661. data/lib/tokyo_metro/factory/convert/common/api/station_facility/platform/transfer.rb +21 -0
  662. data/lib/tokyo_metro/factory/convert/common/api/station_timetable.rb +2 -0
  663. data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations.rb +2 -0
  664. data/lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations/info.rb +24 -0
  665. data/lib/tokyo_metro/factory/convert/customize.rb +2 -0
  666. data/lib/tokyo_metro/factory/convert/customize/api.rb +2 -0
  667. data/lib/tokyo_metro/factory/convert/customize/api/fare.rb +2 -0
  668. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line.rb +2 -0
  669. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase.rb +2 -0
  670. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
  671. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list.rb +21 -0
  672. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/ayase/generate/list/each_condition.rb +41 -0
  673. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
  674. data/lib/tokyo_metro/factory/convert/customize/api/fare/chiyoda_branch_line/kita_ayase/info.rb +34 -0
  675. data/lib/tokyo_metro/factory/convert/customize/api/railway_line.rb +2 -0
  676. data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line.rb +2 -0
  677. data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate.rb +2 -0
  678. data/lib/tokyo_metro/factory/convert/customize/api/railway_line/chiyoda_branch_line/generate/list.rb +118 -0
  679. data/lib/tokyo_metro/factory/convert/customize/api/station.rb +2 -0
  680. data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line.rb +2 -0
  681. data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate.rb +2 -0
  682. data/lib/tokyo_metro/factory/convert/customize/api/station/chiyoda_branch_line/generate/list.rb +72 -0
  683. data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line.rb +2 -0
  684. data/lib/tokyo_metro/factory/convert/customize/api/station/connecting_railway_line/info.rb +210 -0
  685. data/lib/tokyo_metro/factory/convert/customize/api/station_facility.rb +2 -0
  686. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line.rb +2 -0
  687. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/chiyoda_branch_line/info.rb +48 -0
  688. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line.rb +2 -0
  689. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/marunouchi_branch_line/info.rb +28 -0
  690. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue.rb +2 -0
  691. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/platform_transfer_info_at_nakano_sakaue/info.rb +41 -0
  692. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos.rb +9 -0
  693. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info.rb +25 -0
  694. data/lib/tokyo_metro/factory/convert/customize/api/station_facility/railway_line_name_in_platform_transfer_infos/info/each_transfer_info.rb +20 -0
  695. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable.rb +2 -0
  696. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos.rb +2 -0
  697. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate.rb +2 -0
  698. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/additional_infos/generate/list.rb +48 -0
  699. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line.rb +2 -0
  700. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/chiyoda_branch_line/info.rb +35 -0
  701. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line.rb +2 -0
  702. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line/info.rb +16 -0
  703. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station.rb +2 -0
  704. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info.rb +2 -0
  705. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time.rb +2 -0
  706. data/lib/tokyo_metro/factory/convert/customize/api/station_timetable/terminal_station/info/train_time/info.rb +2 -0
  707. data/lib/tokyo_metro/factory/convert/customize/api/train_location.rb +2 -0
  708. data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line.rb +2 -0
  709. data/lib/tokyo_metro/factory/convert/customize/api/train_location/chiyoda_branch_line/info.rb +2 -0
  710. data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line.rb +2 -0
  711. data/lib/tokyo_metro/factory/convert/customize/api/train_location/marunouchi_branch_line/info.rb +2 -0
  712. data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car.rb +2 -0
  713. data/lib/tokyo_metro/factory/convert/customize/api/train_location/romance_car/info.rb +45 -0
  714. data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station.rb +2 -0
  715. data/lib/tokyo_metro/factory/convert/customize/api/train_location/starting_station/info.rb +2 -0
  716. data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station.rb +2 -0
  717. data/lib/tokyo_metro/factory/convert/customize/api/train_location/terminal_station/info.rb +2 -0
  718. data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line.rb +2 -0
  719. data/lib/tokyo_metro/factory/convert/customize/api/train_location/toei_mita_line/info.rb +2 -0
  720. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable.rb +2 -0
  721. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line.rb +2 -0
  722. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/chiyoda_branch_line/info.rb +20 -0
  723. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line.rb +2 -0
  724. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line/info.rb +22 -0
  725. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name.rb +2 -0
  726. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/replace_station_name/info.rb +25 -0
  727. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car.rb +2 -0
  728. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/romance_car/info.rb +2 -0
  729. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station.rb +2 -0
  730. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station/info.rb +16 -0
  731. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station.rb +2 -0
  732. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/terminal_station/info.rb +2 -0
  733. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line.rb +2 -0
  734. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/toei_mita_line/info.rb +23 -0
  735. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line.rb +2 -0
  736. data/lib/tokyo_metro/factory/convert/customize/api/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +108 -0
  737. data/lib/tokyo_metro/factory/convert/dictionary.rb +2 -0
  738. data/lib/tokyo_metro/factory/convert/dictionary/regexp_for_replace.rb +10 -0
  739. data/lib/tokyo_metro/factory/convert/patch.rb +2 -0
  740. data/lib/tokyo_metro/factory/convert/patch/api.rb +2 -0
  741. data/lib/tokyo_metro/factory/convert/patch/api/station.rb +2 -0
  742. data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line.rb +2 -0
  743. data/lib/tokyo_metro/factory/convert/patch/api/station/connecting_railway_line/info.rb +11 -0
  744. data/lib/tokyo_metro/factory/convert/patch/api/station_facility.rb +2 -0
  745. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area.rb +18 -0
  746. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info.rb +2 -0
  747. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free.rb +2 -0
  748. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/barrier_free/info.rb +22 -0
  749. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform.rb +2 -0
  750. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/barrier_free_facility_located_area/info/platform/info.rb +36 -0
  751. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi.rb +2 -0
  752. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
  753. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
  754. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
  755. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
  756. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb +24 -0
  757. 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
  758. 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
  759. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day.rb +2 -0
  760. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate.rb +2 -0
  761. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info.rb +2 -0
  762. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
  763. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
  764. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +42 -0
  765. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator/service_detail.rb +2 -0
  766. 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
  767. 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
  768. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita.rb +2 -0
  769. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/platform_transfer_info_at_kudanshita/info.rb +37 -0
  770. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area.rb +7 -0
  771. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate.rb +2 -0
  772. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info.rb +2 -0
  773. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform.rb +2 -0
  774. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
  775. data/lib/tokyo_metro/factory/convert/patch/api/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +16 -0
  776. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable.rb +2 -0
  777. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi.rb +2 -0
  778. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info.rb +13 -0
  779. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time.rb +2 -0
  780. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/fukutoshin_line_for_wakoshi/info/train_time/info.rb +18 -0
  781. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +2 -0
  782. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +13 -0
  783. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time.rb +2 -0
  784. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info/train_time/info.rb +18 -0
  785. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +2 -0
  786. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +24 -0
  787. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
  788. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info.rb +13 -0
  789. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time.rb +2 -0
  790. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/namboku_line_to_musashi_kosugi/info/train_time/info.rb +7 -0
  791. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin.rb +2 -0
  792. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info.rb +2 -0
  793. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time.rb +2 -0
  794. data/lib/tokyo_metro/factory/convert/patch/api/station_timetable/origin/info/train_time/info.rb +28 -0
  795. data/lib/tokyo_metro/factory/convert/patch/api/train_location.rb +2 -0
  796. data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line.rb +2 -0
  797. data/lib/tokyo_metro/factory/convert/patch/api/train_location/chiyoda_main_line/info.rb +49 -0
  798. data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi.rb +2 -0
  799. data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_from_musashi_kosugi/info.rb +2 -0
  800. data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi.rb +2 -0
  801. data/lib/tokyo_metro/factory/convert/patch/api/train_location/namboku_line_to_musashi_kosugi/info.rb +2 -0
  802. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable.rb +2 -0
  803. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi.rb +2 -0
  804. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_from_musashi_kosugi/info.rb +2 -0
  805. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi.rb +2 -0
  806. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/namboku_line_to_musashi_kosugi/info.rb +2 -0
  807. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
  808. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate.rb +2 -0
  809. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/generate/list.rb +40 -0
  810. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/info.rb +31 -0
  811. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory.rb +2 -0
  812. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name.rb +2 -0
  813. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info.rb +2 -0
  814. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time.rb +2 -0
  815. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/info.rb +29 -0
  816. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/convert_station_name/info/station_time/list.rb +15 -0
  817. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays.rb +2 -0
  818. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/internal_factory/valid_station_times_on_weekdays/info.rb +83 -0
  819. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +2 -0
  820. data/lib/tokyo_metro/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +37 -0
  821. data/lib/tokyo_metro/factory/convert/patch/for_string.rb +2 -0
  822. data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility.rb +2 -0
  823. data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info.rb +2 -0
  824. data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/info/remark.rb +45 -0
  825. data/lib/tokyo_metro/factory/convert/patch/for_string/barrier_free_facility/place_name.rb +12 -0
  826. data/lib/tokyo_metro/factory/decorate.rb +2 -0
  827. data/lib/tokyo_metro/factory/decorate/api.rb +2 -0
  828. data/lib/tokyo_metro/factory/decorate/api/meta_class.rb +2 -0
  829. data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time.rb +2 -0
  830. data/lib/tokyo_metro/factory/decorate/api/meta_class/real_time/info.rb +10 -0
  831. data/lib/tokyo_metro/factory/decorate/api/train_location.rb +2 -0
  832. data/lib/tokyo_metro/factory/decorate/api/train_location/info.rb +170 -0
  833. data/lib/tokyo_metro/factory/decorate/api/train_location/info/delay.rb +80 -0
  834. data/lib/tokyo_metro/factory/decorate/api/train_location/info/train_type.rb +107 -0
  835. data/lib/tokyo_metro/factory/decorate/api/train_location/list.rb +33 -0
  836. data/lib/tokyo_metro/factory/decorate/api/train_location/list/each_direction.rb +34 -0
  837. data/lib/tokyo_metro/factory/decorate/api/train_operation.rb +2 -0
  838. data/lib/tokyo_metro/factory/decorate/api/train_operation/common.rb +36 -0
  839. data/lib/tokyo_metro/factory/decorate/api/train_operation/info.rb +238 -0
  840. data/lib/tokyo_metro/factory/decorate/api/train_operation/info/basic_error.rb +38 -0
  841. data/lib/tokyo_metro/factory/decorate/api/train_operation/info/json_parser_error.rb +14 -0
  842. data/lib/tokyo_metro/factory/decorate/api/train_operation/info/network_error.rb +14 -0
  843. data/lib/tokyo_metro/factory/decorate/app_sub_decorator.rb +23 -0
  844. data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document.rb +72 -0
  845. data/lib/tokyo_metro/factory/decorate/app_sub_decorator/in_document/color_info.rb +19 -0
  846. data/lib/tokyo_metro/factory/decorate/meta_class.rb +19 -0
  847. data/lib/tokyo_metro/factory/generate.rb +2 -0
  848. data/lib/tokyo_metro/factory/generate/api.rb +3 -0
  849. data/lib/tokyo_metro/factory/generate/api/fare.rb +2 -0
  850. data/lib/tokyo_metro/factory/generate/api/fare/info.rb +22 -0
  851. data/lib/tokyo_metro/factory/generate/api/fare/list.rb +4 -0
  852. data/lib/tokyo_metro/factory/generate/api/meta_class.rb +3 -0
  853. data/lib/tokyo_metro/factory/generate/api/meta_class/info.rb +3 -0
  854. data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data.rb +2 -0
  855. data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/factory_class.rb +74 -0
  856. data/lib/tokyo_metro/factory/generate/api/meta_class/info/convert_and_set_array_data/module_for_method.rb +16 -0
  857. data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental.rb +63 -0
  858. data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +2 -0
  859. data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/barrier_free.rb +15 -0
  860. data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/meta_class.rb +73 -0
  861. data/lib/tokyo_metro/factory/generate/api/meta_class/info/fundamental/validity_checker/normal.rb +14 -0
  862. data/lib/tokyo_metro/factory/generate/api/meta_class/info/not_on_the_top_layer.rb +7 -0
  863. data/lib/tokyo_metro/factory/generate/api/meta_class/list.rb +3 -0
  864. data/lib/tokyo_metro/factory/generate/api/meta_class/list/date.rb +60 -0
  865. data/lib/tokyo_metro/factory/generate/api/meta_class/list/normal.rb +116 -0
  866. data/lib/tokyo_metro/factory/generate/api/mlit_railway_line.rb +2 -0
  867. data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/info.rb +27 -0
  868. data/lib/tokyo_metro/factory/generate/api/mlit_railway_line/list.rb +4 -0
  869. data/lib/tokyo_metro/factory/generate/api/mlit_station.rb +2 -0
  870. data/lib/tokyo_metro/factory/generate/api/mlit_station/info.rb +12 -0
  871. data/lib/tokyo_metro/factory/generate/api/mlit_station/list.rb +4 -0
  872. data/lib/tokyo_metro/factory/generate/api/passenger_survey.rb +2 -0
  873. data/lib/tokyo_metro/factory/generate/api/passenger_survey/info.rb +16 -0
  874. data/lib/tokyo_metro/factory/generate/api/passenger_survey/list.rb +4 -0
  875. data/lib/tokyo_metro/factory/generate/api/point.rb +2 -0
  876. data/lib/tokyo_metro/factory/generate/api/point/info.rb +37 -0
  877. data/lib/tokyo_metro/factory/generate/api/point/info/title.rb +59 -0
  878. data/lib/tokyo_metro/factory/generate/api/point/list.rb +4 -0
  879. data/lib/tokyo_metro/factory/generate/api/railway_line.rb +2 -0
  880. data/lib/tokyo_metro/factory/generate/api/railway_line/info.rb +39 -0
  881. data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order.rb +2 -0
  882. data/lib/tokyo_metro/factory/generate/api/railway_line/info/station_order/info.rb +12 -0
  883. data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time.rb +2 -0
  884. data/lib/tokyo_metro/factory/generate/api/railway_line/info/travel_time/info.rb +12 -0
  885. data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car.rb +2 -0
  886. data/lib/tokyo_metro/factory/generate/api/railway_line/info/women_only_car/info.rb +31 -0
  887. data/lib/tokyo_metro/factory/generate/api/railway_line/list.rb +4 -0
  888. data/lib/tokyo_metro/factory/generate/api/station.rb +2 -0
  889. data/lib/tokyo_metro/factory/generate/api/station/info.rb +56 -0
  890. data/lib/tokyo_metro/factory/generate/api/station/info/common.rb +2 -0
  891. data/lib/tokyo_metro/factory/generate/api/station/info/common/info.rb +14 -0
  892. data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line.rb +2 -0
  893. data/lib/tokyo_metro/factory/generate/api/station/info/connecting_railway_line/info.rb +10 -0
  894. data/lib/tokyo_metro/factory/generate/api/station/info/exit.rb +2 -0
  895. data/lib/tokyo_metro/factory/generate/api/station/info/exit/info.rb +10 -0
  896. data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey.rb +2 -0
  897. data/lib/tokyo_metro/factory/generate/api/station/info/link_to_passenger_survey/info.rb +10 -0
  898. data/lib/tokyo_metro/factory/generate/api/station/list.rb +4 -0
  899. data/lib/tokyo_metro/factory/generate/api/station_facility.rb +2 -0
  900. data/lib/tokyo_metro/factory/generate/api/station_facility/info.rb +43 -0
  901. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free.rb +2 -0
  902. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info.rb +59 -0
  903. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility.rb +3 -0
  904. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/elevator.rb +9 -0
  905. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator.rb +42 -0
  906. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail.rb +2 -0
  907. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/direction.rb +29 -0
  908. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/escalator/service_detail/info.rb +20 -0
  909. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/link_for_mobility_scooter.rb +9 -0
  910. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/stairlift.rb +9 -0
  911. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet.rb +24 -0
  912. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/facility/toilet/assistant.rb +25 -0
  913. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +2 -0
  914. data/lib/tokyo_metro/factory/generate/api/station_facility/info/barrier_free/info/service_detail/info.rb +29 -0
  915. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform.rb +2 -0
  916. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info.rb +32 -0
  917. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free.rb +2 -0
  918. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free/info.rb +8 -0
  919. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +2 -0
  920. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area/info.rb +13 -0
  921. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/info.rb +2 -0
  922. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
  923. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/surrounding_area/info.rb +8 -0
  924. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer.rb +2 -0
  925. data/lib/tokyo_metro/factory/generate/api/station_facility/info/platform/info/transfer/info.rb +14 -0
  926. data/lib/tokyo_metro/factory/generate/api/station_facility/list.rb +4 -0
  927. data/lib/tokyo_metro/factory/generate/api/station_timetable.rb +2 -0
  928. data/lib/tokyo_metro/factory/generate/api/station_timetable/info.rb +45 -0
  929. data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental.rb +2 -0
  930. data/lib/tokyo_metro/factory/generate/api/station_timetable/info/fundamental/info.rb +18 -0
  931. data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time.rb +2 -0
  932. data/lib/tokyo_metro/factory/generate/api/station_timetable/info/train_time/info.rb +30 -0
  933. data/lib/tokyo_metro/factory/generate/api/station_timetable/list.rb +4 -0
  934. data/lib/tokyo_metro/factory/generate/api/train_location.rb +2 -0
  935. data/lib/tokyo_metro/factory/generate/api/train_location/info.rb +35 -0
  936. data/lib/tokyo_metro/factory/generate/api/train_location/list.rb +64 -0
  937. data/lib/tokyo_metro/factory/generate/api/train_operation.rb +2 -0
  938. data/lib/tokyo_metro/factory/generate/api/train_operation/info.rb +24 -0
  939. data/lib/tokyo_metro/factory/generate/api/train_operation/list.rb +4 -0
  940. data/lib/tokyo_metro/factory/generate/api/train_timetable.rb +2 -0
  941. data/lib/tokyo_metro/factory/generate/api/train_timetable/info.rb +69 -0
  942. data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time.rb +2 -0
  943. data/lib/tokyo_metro/factory/generate/api/train_timetable/info/station_time/info.rb +29 -0
  944. data/lib/tokyo_metro/factory/generate/api/train_timetable/list.rb +4 -0
  945. data/lib/tokyo_metro/factory/generate/static.rb +3 -0
  946. data/lib/tokyo_metro/factory/generate/static/color.rb +2 -0
  947. data/lib/tokyo_metro/factory/generate/static/color/info.rb +111 -0
  948. data/lib/tokyo_metro/factory/generate/static/meta_class.rb +3 -0
  949. data/lib/tokyo_metro/factory/generate/static/meta_class/group.rb +2 -0
  950. data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental.rb +73 -0
  951. data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_hash.rb +28 -0
  952. data/lib/tokyo_metro/factory/generate/static/meta_class/group/fundamental/from_list.rb +26 -0
  953. data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash.rb +21 -0
  954. data/lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash/each_file.rb +20 -0
  955. data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls.rb +56 -0
  956. data/lib/tokyo_metro/factory/generate/static/meta_class/group/multiple_yamls/each_file.rb +15 -0
  957. data/lib/tokyo_metro/factory/generate/static/meta_class/info.rb +2 -0
  958. data/lib/tokyo_metro/factory/generate/static/meta_class/info/fundamental.rb +66 -0
  959. data/lib/tokyo_metro/factory/generate/static/meta_class/info/normal.rb +33 -0
  960. data/lib/tokyo_metro/factory/generate/static/operation_day.rb +2 -0
  961. data/lib/tokyo_metro/factory/generate/static/operation_day/info.rb +13 -0
  962. data/lib/tokyo_metro/factory/generate/static/operation_day/list.rb +4 -0
  963. data/lib/tokyo_metro/factory/generate/static/operator.rb +2 -0
  964. data/lib/tokyo_metro/factory/generate/static/operator/hash.rb +4 -0
  965. data/lib/tokyo_metro/factory/generate/static/operator/info.rb +53 -0
  966. data/lib/tokyo_metro/factory/generate/static/railway_direction.rb +2 -0
  967. data/lib/tokyo_metro/factory/generate/static/railway_direction/hash.rb +4 -0
  968. data/lib/tokyo_metro/factory/generate/static/railway_direction/info.rb +9 -0
  969. data/lib/tokyo_metro/factory/generate/static/railway_line.rb +2 -0
  970. data/lib/tokyo_metro/factory/generate/static/railway_line/hash.rb +4 -0
  971. data/lib/tokyo_metro/factory/generate/static/railway_line/info.rb +47 -0
  972. data/lib/tokyo_metro/factory/generate/static/station.rb +2 -0
  973. data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line.rb +4 -0
  974. data/lib/tokyo_metro/factory/generate/static/station/in_each_railway_line/info.rb +25 -0
  975. data/lib/tokyo_metro/factory/generate/static/station/railway_lines.rb +4 -0
  976. data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro.rb +2 -0
  977. data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/hash.rb +4 -0
  978. data/lib/tokyo_metro/factory/generate/static/stations_in_tokyo_metro/info.rb +13 -0
  979. data/lib/tokyo_metro/factory/generate/static/train_operation_status.rb +2 -0
  980. data/lib/tokyo_metro/factory/generate/static/train_operation_status/info.rb +13 -0
  981. data/lib/tokyo_metro/factory/generate/static/train_operation_status/list.rb +4 -0
  982. data/lib/tokyo_metro/factory/generate/static/train_owner.rb +2 -0
  983. data/lib/tokyo_metro/factory/generate/static/train_owner/hash.rb +4 -0
  984. data/lib/tokyo_metro/factory/generate/static/train_owner/info.rb +34 -0
  985. data/lib/tokyo_metro/factory/generate/static/train_type.rb +3 -0
  986. data/lib/tokyo_metro/factory/generate/static/train_type/color.rb +2 -0
  987. data/lib/tokyo_metro/factory/generate/static/train_type/color/hash.rb +4 -0
  988. data/lib/tokyo_metro/factory/generate/static/train_type/color/info.rb +27 -0
  989. data/lib/tokyo_metro/factory/generate/static/train_type/custom.rb +3 -0
  990. data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting.rb +3 -0
  991. data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/hash.rb +4 -0
  992. data/lib/tokyo_metro/factory/generate/static/train_type/custom/default_setting/info.rb +80 -0
  993. data/lib/tokyo_metro/factory/generate/static/train_type/custom/main.rb +3 -0
  994. data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash.rb +4 -0
  995. data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/hash/each_file.rb +4 -0
  996. data/lib/tokyo_metro/factory/generate/static/train_type/custom/main/info.rb +48 -0
  997. data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator.rb +3 -0
  998. data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash.rb +4 -0
  999. data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/hash/each_file.rb +4 -0
  1000. data/lib/tokyo_metro/factory/generate/static/train_type/custom/other_operator/info.rb +93 -0
  1001. data/lib/tokyo_metro/factory/generate/static/train_type/in_api.rb +2 -0
  1002. data/lib/tokyo_metro/factory/generate/static/train_type/in_api/hash.rb +4 -0
  1003. data/lib/tokyo_metro/factory/generate/static/train_type/in_api/info.rb +9 -0
  1004. data/lib/tokyo_metro/factory/get.rb +2 -0
  1005. data/lib/tokyo_metro/factory/get/api.rb +3 -0
  1006. data/lib/tokyo_metro/factory/get/api/data_search.rb +10 -0
  1007. data/lib/tokyo_metro/factory/get/api/data_search/fare.rb +64 -0
  1008. data/lib/tokyo_metro/factory/get/api/data_search/passenger_survey.rb +43 -0
  1009. data/lib/tokyo_metro/factory/get/api/data_search/point.rb +39 -0
  1010. data/lib/tokyo_metro/factory/get/api/data_search/railway_line.rb +45 -0
  1011. data/lib/tokyo_metro/factory/get/api/data_search/station.rb +48 -0
  1012. data/lib/tokyo_metro/factory/get/api/data_search/station_facility.rb +50 -0
  1013. data/lib/tokyo_metro/factory/get/api/data_search/station_timetable.rb +45 -0
  1014. data/lib/tokyo_metro/factory/get/api/data_search/train_location.rb +67 -0
  1015. data/lib/tokyo_metro/factory/get/api/data_search/train_operation.rb +47 -0
  1016. data/lib/tokyo_metro/factory/get/api/data_search/train_timetable.rb +63 -0
  1017. data/lib/tokyo_metro/factory/get/api/geo.rb +10 -0
  1018. data/lib/tokyo_metro/factory/get/api/geo/mlit_railway_line.rb +4 -0
  1019. data/lib/tokyo_metro/factory/get/api/geo/mlit_station.rb +4 -0
  1020. data/lib/tokyo_metro/factory/get/api/geo/point.rb +4 -0
  1021. data/lib/tokyo_metro/factory/get/api/geo/railway_line.rb +4 -0
  1022. data/lib/tokyo_metro/factory/get/api/geo/station.rb +4 -0
  1023. data/lib/tokyo_metro/factory/get/api/meta_class.rb +3 -0
  1024. data/lib/tokyo_metro/factory/get/api/meta_class/find.rb +19 -0
  1025. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental.rb +123 -0
  1026. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator.rb +2 -0
  1027. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array.rb +2 -0
  1028. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/common.rb +24 -0
  1029. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/find.rb +53 -0
  1030. data/lib/tokyo_metro/factory/get/api/meta_class/fundamental/generator/new_array/search.rb +13 -0
  1031. data/lib/tokyo_metro/factory/get/api/meta_class/search.rb +25 -0
  1032. data/lib/tokyo_metro/factory/get/api/meta_class/search/data_search.rb +29 -0
  1033. data/lib/tokyo_metro/factory/get/api/meta_class/search/geo.rb +48 -0
  1034. data/lib/tokyo_metro/factory/save.rb +2 -0
  1035. data/lib/tokyo_metro/factory/save/api.rb +3 -0
  1036. data/lib/tokyo_metro/factory/save/api/fare.rb +2 -0
  1037. data/lib/tokyo_metro/factory/save/api/fare/each_file.rb +3 -0
  1038. data/lib/tokyo_metro/factory/save/api/fare/group.rb +4 -0
  1039. data/lib/tokyo_metro/factory/save/api/fare/group/file_info.rb +3 -0
  1040. data/lib/tokyo_metro/factory/save/api/fare/group/list.rb +3 -0
  1041. data/lib/tokyo_metro/factory/save/api/meta_class.rb +3 -0
  1042. data/lib/tokyo_metro/factory/save/api/meta_class/each_file.rb +2 -0
  1043. data/lib/tokyo_metro/factory/save/api/meta_class/each_file/data_search.rb +3 -0
  1044. data/lib/tokyo_metro/factory/save/api/meta_class/each_file/fundamental.rb +122 -0
  1045. data/lib/tokyo_metro/factory/save/api/meta_class/group.rb +133 -0
  1046. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info.rb +48 -0
  1047. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/alphabet.rb +17 -0
  1048. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/date.rb +37 -0
  1049. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/normal.rb +9 -0
  1050. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/station_timetable.rb +9 -0
  1051. data/lib/tokyo_metro/factory/save/api/meta_class/group/file_info/train_timetable.rb +29 -0
  1052. data/lib/tokyo_metro/factory/save/api/meta_class/group/list.rb +78 -0
  1053. data/lib/tokyo_metro/factory/save/api/mlit_railway_line.rb +2 -0
  1054. data/lib/tokyo_metro/factory/save/api/mlit_railway_line/each_file.rb +6 -0
  1055. data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group.rb +7 -0
  1056. data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/file_info.rb +6 -0
  1057. data/lib/tokyo_metro/factory/save/api/mlit_railway_line/group/list.rb +6 -0
  1058. data/lib/tokyo_metro/factory/save/api/mlit_station.rb +2 -0
  1059. data/lib/tokyo_metro/factory/save/api/mlit_station/each_file.rb +6 -0
  1060. data/lib/tokyo_metro/factory/save/api/mlit_station/group.rb +7 -0
  1061. data/lib/tokyo_metro/factory/save/api/mlit_station/group/file_info.rb +6 -0
  1062. data/lib/tokyo_metro/factory/save/api/mlit_station/group/list.rb +6 -0
  1063. data/lib/tokyo_metro/factory/save/api/passenger_survey.rb +2 -0
  1064. data/lib/tokyo_metro/factory/save/api/passenger_survey/each_file.rb +3 -0
  1065. data/lib/tokyo_metro/factory/save/api/passenger_survey/group.rb +4 -0
  1066. data/lib/tokyo_metro/factory/save/api/passenger_survey/group/file_info.rb +3 -0
  1067. data/lib/tokyo_metro/factory/save/api/passenger_survey/group/list.rb +3 -0
  1068. data/lib/tokyo_metro/factory/save/api/point.rb +2 -0
  1069. data/lib/tokyo_metro/factory/save/api/point/each_file.rb +3 -0
  1070. data/lib/tokyo_metro/factory/save/api/point/group.rb +55 -0
  1071. data/lib/tokyo_metro/factory/save/api/point/group/file_info.rb +3 -0
  1072. data/lib/tokyo_metro/factory/save/api/point/group/list.rb +3 -0
  1073. data/lib/tokyo_metro/factory/save/api/railway_line.rb +2 -0
  1074. data/lib/tokyo_metro/factory/save/api/railway_line/each_file.rb +3 -0
  1075. data/lib/tokyo_metro/factory/save/api/railway_line/group.rb +4 -0
  1076. data/lib/tokyo_metro/factory/save/api/railway_line/group/file_info.rb +3 -0
  1077. data/lib/tokyo_metro/factory/save/api/railway_line/group/list.rb +3 -0
  1078. data/lib/tokyo_metro/factory/save/api/real_time_infos.rb +36 -0
  1079. data/lib/tokyo_metro/factory/save/api/station.rb +2 -0
  1080. data/lib/tokyo_metro/factory/save/api/station/each_file.rb +3 -0
  1081. data/lib/tokyo_metro/factory/save/api/station/group.rb +4 -0
  1082. data/lib/tokyo_metro/factory/save/api/station/group/file_info.rb +3 -0
  1083. data/lib/tokyo_metro/factory/save/api/station/group/list.rb +3 -0
  1084. data/lib/tokyo_metro/factory/save/api/station_facility.rb +2 -0
  1085. data/lib/tokyo_metro/factory/save/api/station_facility/each_file.rb +3 -0
  1086. data/lib/tokyo_metro/factory/save/api/station_facility/group.rb +4 -0
  1087. data/lib/tokyo_metro/factory/save/api/station_facility/group/file_info.rb +3 -0
  1088. data/lib/tokyo_metro/factory/save/api/station_facility/group/list.rb +3 -0
  1089. data/lib/tokyo_metro/factory/save/api/station_timetable.rb +2 -0
  1090. data/lib/tokyo_metro/factory/save/api/station_timetable/each_file.rb +3 -0
  1091. data/lib/tokyo_metro/factory/save/api/station_timetable/group.rb +4 -0
  1092. data/lib/tokyo_metro/factory/save/api/station_timetable/group/file_info.rb +3 -0
  1093. data/lib/tokyo_metro/factory/save/api/station_timetable/group/list.rb +3 -0
  1094. data/lib/tokyo_metro/factory/save/api/train_location.rb +2 -0
  1095. data/lib/tokyo_metro/factory/save/api/train_location/each_file.rb +3 -0
  1096. data/lib/tokyo_metro/factory/save/api/train_location/group.rb +18 -0
  1097. data/lib/tokyo_metro/factory/save/api/train_location/group/file_info.rb +3 -0
  1098. data/lib/tokyo_metro/factory/save/api/train_location/group/list.rb +3 -0
  1099. data/lib/tokyo_metro/factory/save/api/train_operation.rb +2 -0
  1100. data/lib/tokyo_metro/factory/save/api/train_operation/each_file.rb +3 -0
  1101. data/lib/tokyo_metro/factory/save/api/train_operation/group.rb +4 -0
  1102. data/lib/tokyo_metro/factory/save/api/train_operation/group/file_info.rb +3 -0
  1103. data/lib/tokyo_metro/factory/save/api/train_operation/group/list.rb +3 -0
  1104. data/lib/tokyo_metro/factory/save/api/train_timetable.rb +2 -0
  1105. data/lib/tokyo_metro/factory/save/api/train_timetable/each_file.rb +5 -0
  1106. data/lib/tokyo_metro/factory/save/api/train_timetable/group.rb +4 -0
  1107. data/lib/tokyo_metro/factory/save/api/train_timetable/group/file_info.rb +3 -0
  1108. data/lib/tokyo_metro/factory/save/api/train_timetable/group/list.rb +3 -0
  1109. data/lib/tokyo_metro/factory/scss.rb +2 -0
  1110. data/lib/tokyo_metro/factory/scss/train_type.rb +125 -0
  1111. data/lib/tokyo_metro/factory/seed.rb +368 -0
  1112. data/lib/tokyo_metro/factory/seed/api.rb +2 -0
  1113. data/lib/tokyo_metro/factory/seed/api/fare.rb +2 -0
  1114. data/lib/tokyo_metro/factory/seed/api/fare/common.rb +14 -0
  1115. data/lib/tokyo_metro/factory/seed/api/fare/info.rb +36 -0
  1116. data/lib/tokyo_metro/factory/seed/api/fare/list.rb +7 -0
  1117. data/lib/tokyo_metro/factory/seed/api/meta_class.rb +2 -0
  1118. data/lib/tokyo_metro/factory/seed/api/meta_class/info.rb +2 -0
  1119. data/lib/tokyo_metro/factory/seed/api/meta_class/list.rb +2 -0
  1120. data/lib/tokyo_metro/factory/seed/api/passenger_survey.rb +2 -0
  1121. data/lib/tokyo_metro/factory/seed/api/passenger_survey/common.rb +14 -0
  1122. data/lib/tokyo_metro/factory/seed/api/passenger_survey/info.rb +18 -0
  1123. data/lib/tokyo_metro/factory/seed/api/passenger_survey/list.rb +6 -0
  1124. data/lib/tokyo_metro/factory/seed/api/point.rb +2 -0
  1125. data/lib/tokyo_metro/factory/seed/api/point/common.rb +14 -0
  1126. data/lib/tokyo_metro/factory/seed/api/point/info.rb +86 -0
  1127. data/lib/tokyo_metro/factory/seed/api/point/list.rb +6 -0
  1128. data/lib/tokyo_metro/factory/seed/api/railway_line.rb +2 -0
  1129. data/lib/tokyo_metro/factory/seed/api/railway_line/info.rb +2 -0
  1130. data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class.rb +2 -0
  1131. data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/common.rb +12 -0
  1132. data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/info.rb +6 -0
  1133. data/lib/tokyo_metro/factory/seed/api/railway_line/info/meta_class/list.rb +6 -0
  1134. data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time.rb +2 -0
  1135. data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/info.rb +20 -0
  1136. data/lib/tokyo_metro/factory/seed/api/railway_line/info/travel_time/list.rb +2 -0
  1137. data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car.rb +2 -0
  1138. data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/info.rb +37 -0
  1139. data/lib/tokyo_metro/factory/seed/api/railway_line/info/women_only_car/list.rb +2 -0
  1140. data/lib/tokyo_metro/factory/seed/api/railway_line/list.rb +2 -0
  1141. data/lib/tokyo_metro/factory/seed/api/railway_line/list/travel_time.rb +11 -0
  1142. data/lib/tokyo_metro/factory/seed/api/railway_line/list/women_only_car.rb +11 -0
  1143. data/lib/tokyo_metro/factory/seed/api/station.rb +2 -0
  1144. data/lib/tokyo_metro/factory/seed/api/station/common.rb +14 -0
  1145. data/lib/tokyo_metro/factory/seed/api/station/info.rb +39 -0
  1146. data/lib/tokyo_metro/factory/seed/api/station/info/common.rb +2 -0
  1147. data/lib/tokyo_metro/factory/seed/api/station/info/common/info.rb +6 -0
  1148. data/lib/tokyo_metro/factory/seed/api/station/info/common/list.rb +6 -0
  1149. data/lib/tokyo_metro/factory/seed/api/station/info/common/optional_variables.rb +14 -0
  1150. data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line.rb +2 -0
  1151. data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/info.rb +19 -0
  1152. data/lib/tokyo_metro/factory/seed/api/station/info/connecting_railway_line/list.rb +2 -0
  1153. data/lib/tokyo_metro/factory/seed/api/station/info/exit.rb +2 -0
  1154. data/lib/tokyo_metro/factory/seed/api/station/info/exit/info.rb +18 -0
  1155. data/lib/tokyo_metro/factory/seed/api/station/info/exit/list.rb +2 -0
  1156. data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey.rb +2 -0
  1157. data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/info.rb +18 -0
  1158. data/lib/tokyo_metro/factory/seed/api/station/info/link_to_passenger_survey/list.rb +2 -0
  1159. data/lib/tokyo_metro/factory/seed/api/station/list.rb +12 -0
  1160. data/lib/tokyo_metro/factory/seed/api/station/list/common.rb +15 -0
  1161. data/lib/tokyo_metro/factory/seed/api/station/list/connecting_railway_line.rb +9 -0
  1162. data/lib/tokyo_metro/factory/seed/api/station/list/exit.rb +9 -0
  1163. data/lib/tokyo_metro/factory/seed/api/station/list/link_to_passenger_survey.rb +9 -0
  1164. data/lib/tokyo_metro/factory/seed/api/station_facility.rb +2 -0
  1165. data/lib/tokyo_metro/factory/seed/api/station_facility/info.rb +16 -0
  1166. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free.rb +2 -0
  1167. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility.rb +2 -0
  1168. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator.rb +2 -0
  1169. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/info.rb +14 -0
  1170. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail.rb +2 -0
  1171. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb +31 -0
  1172. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/escalator/service_detail/info.rb +13 -0
  1173. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet.rb +2 -0
  1174. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/assistant.rb +31 -0
  1175. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/facility/toilet/info.rb +14 -0
  1176. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/info.rb +79 -0
  1177. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/list.rb +2 -0
  1178. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
  1179. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/common.rb +17 -0
  1180. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/info.rb +47 -0
  1181. data/lib/tokyo_metro/factory/seed/api/station_facility/info/barrier_free/service_detail/list.rb +5 -0
  1182. data/lib/tokyo_metro/factory/seed/api/station_facility/info/common.rb +2 -0
  1183. data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/info.rb +20 -0
  1184. data/lib/tokyo_metro/factory/seed/api/station_facility/info/common/list.rb +16 -0
  1185. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform.rb +2 -0
  1186. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info.rb +29 -0
  1187. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free.rb +2 -0
  1188. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/info.rb +18 -0
  1189. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/barrier_free/list.rb +2 -0
  1190. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common.rb +2 -0
  1191. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/info.rb +6 -0
  1192. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/list.rb +6 -0
  1193. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/common/set_optional_variables.rb +14 -0
  1194. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area.rb +2 -0
  1195. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/info.rb +18 -0
  1196. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/surrounding_area/list.rb +2 -0
  1197. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer.rb +2 -0
  1198. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/info.rb +30 -0
  1199. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/info/transfer/list.rb +2 -0
  1200. data/lib/tokyo_metro/factory/seed/api/station_facility/info/platform/list.rb +2 -0
  1201. data/lib/tokyo_metro/factory/seed/api/station_facility/list.rb +5 -0
  1202. data/lib/tokyo_metro/factory/seed/api/station_facility/list/barrier_free.rb +9 -0
  1203. data/lib/tokyo_metro/factory/seed/api/station_facility/list/common.rb +11 -0
  1204. data/lib/tokyo_metro/factory/seed/api/station_facility/list/platform.rb +9 -0
  1205. data/lib/tokyo_metro/factory/seed/api/station_timetable.rb +2 -0
  1206. data/lib/tokyo_metro/factory/seed/api/station_timetable/common.rb +14 -0
  1207. data/lib/tokyo_metro/factory/seed/api/station_timetable/info.rb +29 -0
  1208. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental.rb +2 -0
  1209. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/common.rb +14 -0
  1210. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info.rb +2 -0
  1211. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated.rb +2 -0
  1212. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/info.rb +29 -0
  1213. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/info/separated/list.rb +2 -0
  1214. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/fundamental/list.rb +6 -0
  1215. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time.rb +2 -0
  1216. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/common.rb +14 -0
  1217. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info.rb +175 -0
  1218. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/info/update_train_timetable.rb +81 -0
  1219. data/lib/tokyo_metro/factory/seed/api/station_timetable/info/train_time/list.rb +6 -0
  1220. data/lib/tokyo_metro/factory/seed/api/station_timetable/list.rb +4 -0
  1221. data/lib/tokyo_metro/factory/seed/api/station_timetable/list/train_times.rb +20 -0
  1222. data/lib/tokyo_metro/factory/seed/api/station_train_time.rb +169 -0
  1223. data/lib/tokyo_metro/factory/seed/api/station_train_time/checker.rb +188 -0
  1224. data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable.rb +105 -0
  1225. data/lib/tokyo_metro/factory/seed/api/station_train_time/train_in_station_timetable/station_timetable_info.rb +65 -0
  1226. data/lib/tokyo_metro/factory/seed/api/train_timetable.rb +2 -0
  1227. data/lib/tokyo_metro/factory/seed/api/train_timetable/common.rb +14 -0
  1228. data/lib/tokyo_metro/factory/seed/api/train_timetable/info.rb +102 -0
  1229. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times.rb +2 -0
  1230. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/common.rb +49 -0
  1231. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/last_station_in_tokyo_metro.rb +69 -0
  1232. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/arrival_times/romance_car.rb +105 -0
  1233. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time.rb +2 -0
  1234. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info.rb +2 -0
  1235. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation.rb +2 -0
  1236. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following.rb +2 -0
  1237. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/info.rb +16 -0
  1238. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/following/list.rb +2 -0
  1239. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +2 -0
  1240. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/info.rb +31 -0
  1241. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/list.rb +8 -0
  1242. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/meta_class/optional_infos.rb +12 -0
  1243. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous.rb +2 -0
  1244. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/info.rb +16 -0
  1245. data/lib/tokyo_metro/factory/seed/api/train_timetable/info/station_time/info/train_relation/previous/list.rb +2 -0
  1246. data/lib/tokyo_metro/factory/seed/api/train_timetable/list.rb +6 -0
  1247. data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times.rb +2 -0
  1248. data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/last_station_in_tokyo_metro.rb +11 -0
  1249. data/lib/tokyo_metro/factory/seed/api/train_timetable/list/arrival_times/romance_car.rb +11 -0
  1250. data/lib/tokyo_metro/factory/seed/common.rb +2 -0
  1251. data/lib/tokyo_metro/factory/seed/common/group.rb +106 -0
  1252. data/lib/tokyo_metro/factory/seed/common/hash.rb +29 -0
  1253. data/lib/tokyo_metro/factory/seed/common/info.rb +46 -0
  1254. data/lib/tokyo_metro/factory/seed/common/interruption.rb +39 -0
  1255. data/lib/tokyo_metro/factory/seed/common/list.rb +48 -0
  1256. data/lib/tokyo_metro/factory/seed/common/polymorphic.rb +2 -0
  1257. data/lib/tokyo_metro/factory/seed/common/polymorphic/twitter_account.rb +20 -0
  1258. data/lib/tokyo_metro/factory/seed/common/set_optional_variables.rb +17 -0
  1259. data/lib/tokyo_metro/factory/seed/reference.rb +2 -0
  1260. data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility.rb +2 -0
  1261. data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/info.rb +13 -0
  1262. data/lib/tokyo_metro/factory/seed/reference/barrier_free_facility/service_detail_pattern.rb +22 -0
  1263. data/lib/tokyo_metro/factory/seed/reference/dc_date.rb +9 -0
  1264. data/lib/tokyo_metro/factory/seed/reference/dictionary.rb +2 -0
  1265. data/lib/tokyo_metro/factory/seed/reference/dictionary/train_type.rb +25 -0
  1266. data/lib/tokyo_metro/factory/seed/reference/from_and_to_station.rb +29 -0
  1267. data/lib/tokyo_metro/factory/seed/reference/normal_fare_group.rb +25 -0
  1268. data/lib/tokyo_metro/factory/seed/reference/operation_day.rb +13 -0
  1269. data/lib/tokyo_metro/factory/seed/reference/operator.rb +19 -0
  1270. data/lib/tokyo_metro/factory/seed/reference/passenger_survey.rb +19 -0
  1271. data/lib/tokyo_metro/factory/seed/reference/point.rb +26 -0
  1272. data/lib/tokyo_metro/factory/seed/reference/railway_direction.rb +22 -0
  1273. data/lib/tokyo_metro/factory/seed/reference/railway_line.rb +19 -0
  1274. data/lib/tokyo_metro/factory/seed/reference/station.rb +20 -0
  1275. data/lib/tokyo_metro/factory/seed/reference/station_facility.rb +19 -0
  1276. data/lib/tokyo_metro/factory/seed/reference/surrounding_area.rb +13 -0
  1277. data/lib/tokyo_metro/factory/seed/reference/train_name.rb +26 -0
  1278. data/lib/tokyo_metro/factory/seed/reference/train_owner.rb +19 -0
  1279. data/lib/tokyo_metro/factory/seed/reference/train_type.rb +23 -0
  1280. data/lib/tokyo_metro/factory/seed/reference/train_type_in_api.rb +19 -0
  1281. data/lib/tokyo_metro/factory/seed/static.rb +2 -0
  1282. data/lib/tokyo_metro/factory/seed/static/fare.rb +2 -0
  1283. data/lib/tokyo_metro/factory/seed/static/fare/normal.rb +2 -0
  1284. data/lib/tokyo_metro/factory/seed/static/fare/normal/table.rb +2 -0
  1285. data/lib/tokyo_metro/factory/seed/static/fare/normal/table/common.rb +14 -0
  1286. data/lib/tokyo_metro/factory/seed/static/fare/normal/table/list.rb +6 -0
  1287. data/lib/tokyo_metro/factory/seed/static/fare/normal/table/pattern.rb +25 -0
  1288. data/lib/tokyo_metro/factory/seed/static/meta_class.rb +2 -0
  1289. data/lib/tokyo_metro/factory/seed/static/meta_class/hash.rb +2 -0
  1290. data/lib/tokyo_metro/factory/seed/static/meta_class/info.rb +2 -0
  1291. data/lib/tokyo_metro/factory/seed/static/meta_class/list.rb +2 -0
  1292. data/lib/tokyo_metro/factory/seed/static/operation_day.rb +21 -0
  1293. data/lib/tokyo_metro/factory/seed/static/operation_day/info.rb +11 -0
  1294. data/lib/tokyo_metro/factory/seed/static/operation_day/list.rb +5 -0
  1295. data/lib/tokyo_metro/factory/seed/static/operator.rb +2 -0
  1296. data/lib/tokyo_metro/factory/seed/static/operator/hash.rb +19 -0
  1297. data/lib/tokyo_metro/factory/seed/static/operator/info.rb +33 -0
  1298. data/lib/tokyo_metro/factory/seed/static/railway_direction.rb +2 -0
  1299. data/lib/tokyo_metro/factory/seed/static/railway_direction/hash.rb +5 -0
  1300. data/lib/tokyo_metro/factory/seed/static/railway_direction/info.rb +44 -0
  1301. data/lib/tokyo_metro/factory/seed/static/railway_line.rb +2 -0
  1302. data/lib/tokyo_metro/factory/seed/static/railway_line/hash.rb +16 -0
  1303. data/lib/tokyo_metro/factory/seed/static/railway_line/info.rb +87 -0
  1304. data/lib/tokyo_metro/factory/seed/static/station.rb +2 -0
  1305. data/lib/tokyo_metro/factory/seed/static/station/in_each_railway_line.rb +27 -0
  1306. data/lib/tokyo_metro/factory/seed/static/station/info.rb +180 -0
  1307. data/lib/tokyo_metro/factory/seed/static/station/optional_variables.rb +10 -0
  1308. data/lib/tokyo_metro/factory/seed/static/station/railway_lines.rb +30 -0
  1309. data/lib/tokyo_metro/factory/seed/static/train_operation_status.rb +2 -0
  1310. data/lib/tokyo_metro/factory/seed/static/train_operation_status/info.rb +11 -0
  1311. data/lib/tokyo_metro/factory/seed/static/train_operation_status/list.rb +5 -0
  1312. data/lib/tokyo_metro/factory/seed/static/train_owner.rb +2 -0
  1313. data/lib/tokyo_metro/factory/seed/static/train_owner/hash.rb +3 -0
  1314. data/lib/tokyo_metro/factory/seed/static/train_owner/info.rb +23 -0
  1315. data/lib/tokyo_metro/factory/seed/static/train_type.rb +2 -0
  1316. data/lib/tokyo_metro/factory/seed/static/train_type/custom.rb +2 -0
  1317. data/lib/tokyo_metro/factory/seed/static/train_type/custom/main.rb +2 -0
  1318. data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/hash.rb +17 -0
  1319. data/lib/tokyo_metro/factory/seed/static/train_type/custom/main/info.rb +36 -0
  1320. data/lib/tokyo_metro/factory/seed/static/train_type/in_api.rb +2 -0
  1321. data/lib/tokyo_metro/factory/seed/static/train_type/in_api/hash.rb +5 -0
  1322. data/lib/tokyo_metro/factory/seed/static/train_type/in_api/info.rb +21 -0
  1323. data/lib/tokyo_metro/factory/yaml_station_list.rb +83 -0
  1324. data/lib/tokyo_metro/factory/yaml_station_list/each_station.rb +117 -0
  1325. data/lib/tokyo_metro/initializer.rb +2 -0
  1326. data/lib/tokyo_metro/initializer/modules.rb +126 -0
  1327. data/lib/tokyo_metro/initializer/rails.rb +38 -0
  1328. data/lib/tokyo_metro/modules.rb +2 -0
  1329. data/lib/tokyo_metro/modules/api.rb +3 -0
  1330. data/lib/tokyo_metro/modules/api/common.rb +3 -0
  1331. data/lib/tokyo_metro/modules/api/common/db_dirname.rb +21 -0
  1332. data/lib/tokyo_metro/modules/api/common/not_real_time.rb +18 -0
  1333. data/lib/tokyo_metro/modules/api/common/real_time.rb +22 -0
  1334. data/lib/tokyo_metro/modules/api/info.rb +3 -0
  1335. data/lib/tokyo_metro/modules/api/info/decision.rb +2 -0
  1336. data/lib/tokyo_metro/modules/api/info/decision/actual_starting_station.rb +17 -0
  1337. data/lib/tokyo_metro/modules/api/info/decision/actual_terminal_station.rb +18 -0
  1338. data/lib/tokyo_metro/modules/api/info/decision/arrival_station.rb +15 -0
  1339. data/lib/tokyo_metro/modules/api/info/decision/current_station.rb +12 -0
  1340. data/lib/tokyo_metro/modules/api/info/decision/operated_section.rb +55 -0
  1341. data/lib/tokyo_metro/modules/api/info/decision/railway_line.rb +14 -0
  1342. data/lib/tokyo_metro/modules/api/info/decision/starting_station.rb +14 -0
  1343. data/lib/tokyo_metro/modules/api/info/decision/terminal_station.rb +21 -0
  1344. data/lib/tokyo_metro/modules/api/info/decision/train_direction.rb +24 -0
  1345. data/lib/tokyo_metro/modules/api/info/decision/train_operation_day.rb +21 -0
  1346. data/lib/tokyo_metro/modules/api/info/decision/train_type.rb +19 -0
  1347. data/lib/tokyo_metro/modules/api/info/seed_completed.rb +22 -0
  1348. data/lib/tokyo_metro/modules/api/info/set_data_to_hash.rb +19 -0
  1349. data/lib/tokyo_metro/modules/api/info/to_json.rb +11 -0
  1350. data/lib/tokyo_metro/modules/api/info/to_string_general.rb +14 -0
  1351. data/lib/tokyo_metro/modules/api/info/to_string_with_array.rb +36 -0
  1352. data/lib/tokyo_metro/modules/api/info/validity.rb +19 -0
  1353. data/lib/tokyo_metro/modules/api/list.rb +5 -0
  1354. data/lib/tokyo_metro/modules/api/list/selection.rb +2 -0
  1355. data/lib/tokyo_metro/modules/api/list/selection/railway_lines.rb +65 -0
  1356. data/lib/tokyo_metro/modules/api/to_factory.rb +3 -0
  1357. data/lib/tokyo_metro/modules/api/to_factory/convert.rb +2 -0
  1358. data/lib/tokyo_metro/modules/api/to_factory/convert/customize.rb +2 -0
  1359. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare.rb +2 -0
  1360. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line.rb +12 -0
  1361. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase.rb +2 -0
  1362. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate.rb +2 -0
  1363. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/ayase/generate/list.rb +8 -0
  1364. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase.rb +2 -0
  1365. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/fare/chiyoda_branch_line/kita_ayase/info.rb +8 -0
  1366. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line.rb +2 -0
  1367. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line.rb +9 -0
  1368. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate.rb +2 -0
  1369. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/railway_line/chiyoda_branch_line/generate/list.rb +8 -0
  1370. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station.rb +2 -0
  1371. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line.rb +9 -0
  1372. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate.rb +2 -0
  1373. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/chiyoda_branch_line/generate/list.rb +8 -0
  1374. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line.rb +29 -0
  1375. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory.rb +2 -0
  1376. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed.rb +2 -0
  1377. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info.rb +2 -0
  1378. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line.rb +2 -0
  1379. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/factory/seed/info/connecting_railway_line/info.rb +72 -0
  1380. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info.rb +9 -0
  1381. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line.rb +2 -0
  1382. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/connecting_railway_line/info/connecting_railway_line/info.rb +86 -0
  1383. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line.rb +9 -0
  1384. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station/station_code_of_nakano_sakaue_on_marunouchi_branch_line/info.rb +12 -0
  1385. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility.rb +2 -0
  1386. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line.rb +9 -0
  1387. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/chiyoda_branch_line/info.rb +9 -0
  1388. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line.rb +9 -0
  1389. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/marunouchi_branch_line/info.rb +9 -0
  1390. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue.rb +9 -0
  1391. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/platfrom_transfer_info_at_nakano_sakaue/info.rb +9 -0
  1392. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info.rb +13 -0
  1393. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_facility/railway_line_name_in_platform_transfer_info/info.rb +13 -0
  1394. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable.rb +2 -0
  1395. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos.rb +9 -0
  1396. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate.rb +2 -0
  1397. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/additional_infos/generate/list.rb +8 -0
  1398. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line.rb +9 -0
  1399. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/chiyoda_branch_line/info.rb +11 -0
  1400. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line.rb +9 -0
  1401. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/marunouchi_branch_line/info.rb +11 -0
  1402. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station.rb +9 -0
  1403. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info.rb +2 -0
  1404. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time.rb +2 -0
  1405. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/station_timetable/terminal_station/info/train_time/info.rb +9 -0
  1406. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location.rb +2 -0
  1407. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line.rb +9 -0
  1408. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/chiyoda_branch_line/info.rb +8 -0
  1409. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line.rb +9 -0
  1410. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/marunouchi_branch_line/info.rb +8 -0
  1411. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car.rb +9 -0
  1412. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/romance_car/info.rb +10 -0
  1413. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station.rb +9 -0
  1414. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/starting_station/info.rb +9 -0
  1415. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station.rb +9 -0
  1416. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/terminal_station/info.rb +9 -0
  1417. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line.rb +9 -0
  1418. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_location/toei_mita_line/info.rb +9 -0
  1419. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable.rb +2 -0
  1420. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line.rb +9 -0
  1421. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/chiyoda_branch_line/info.rb +8 -0
  1422. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line.rb +9 -0
  1423. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/marunouchi_branch_line/info.rb +8 -0
  1424. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car.rb +9 -0
  1425. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/romance_car/info.rb +10 -0
  1426. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station.rb +9 -0
  1427. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/starting_station/info.rb +8 -0
  1428. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station.rb +9 -0
  1429. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/terminal_station/info.rb +9 -0
  1430. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line.rb +9 -0
  1431. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/toei_mita_line/info.rb +8 -0
  1432. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line.rb +39 -0
  1433. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/dictionary.rb +27 -0
  1434. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb +75 -0
  1435. data/lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info/station_time.rb +2 -0
  1436. 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
  1437. 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
  1438. data/lib/tokyo_metro/modules/api/to_factory/convert/patch.rb +3 -0
  1439. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station.rb +2 -0
  1440. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line.rb +14 -0
  1441. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station/connecting_railway_line/info.rb +13 -0
  1442. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility.rb +2 -0
  1443. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi.rb +16 -0
  1444. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/barrier_free_facility_located_area_at_nakano_shimbashi/info.rb +2 -0
  1445. 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
  1446. 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
  1447. 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
  1448. 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
  1449. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi.rb +11 -0
  1450. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate.rb +2 -0
  1451. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info.rb +2 -0
  1452. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free.rb +2 -0
  1453. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility.rb +2 -0
  1454. 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
  1455. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day.rb +11 -0
  1456. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate.rb +2 -0
  1457. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info.rb +2 -0
  1458. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free.rb +2 -0
  1459. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility.rb +2 -0
  1460. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/escalator_operation_day/generate/info/barrier_free/facility/escalator.rb +11 -0
  1461. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita.rb +9 -0
  1462. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/platfrom_transfer_info_at_kudanshita/info.rb +9 -0
  1463. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area.rb +11 -0
  1464. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate.rb +2 -0
  1465. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info.rb +2 -0
  1466. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform.rb +2 -0
  1467. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info.rb +2 -0
  1468. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_facility/surrounding_area/generate/info/platform/info/surrounding_area.rb +14 -0
  1469. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable.rb +2 -0
  1470. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi.rb +9 -0
  1471. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/fukutoshin_line_for_wakoshi/info.rb +8 -0
  1472. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue.rb +9 -0
  1473. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/marunouchi_branch_line_for_nakano_sakaue/info.rb +8 -0
  1474. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
  1475. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/musashi_kosugi_in_namboku_line/info.rb +8 -0
  1476. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line.rb +14 -0
  1477. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/nakano_sakaue_on_marunouchi_branch_line/info.rb +11 -0
  1478. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin.rb +14 -0
  1479. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info.rb +5 -0
  1480. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time.rb +5 -0
  1481. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/station_timetable/origin/info/train_time/info.rb +13 -0
  1482. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location.rb +2 -0
  1483. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line.rb +9 -0
  1484. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/chiyoda_main_line/info.rb +8 -0
  1485. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line.rb +9 -0
  1486. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_location/musashi_kosugi_in_namboku_line/info.rb +9 -0
  1487. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable.rb +2 -0
  1488. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line.rb +9 -0
  1489. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/musashi_kosugi_in_namboku_line/info.rb +9 -0
  1490. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line.rb +9 -0
  1491. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate.rb +2 -0
  1492. data/lib/tokyo_metro/modules/api/to_factory/convert/patch/train_timetable/yurakucho_line/generate/list.rb +8 -0
  1493. data/lib/tokyo_metro/modules/api/to_factory/generate.rb +2 -0
  1494. data/lib/tokyo_metro/modules/api/to_factory/generate/group.rb +3 -0
  1495. data/lib/tokyo_metro/modules/api/to_factory/generate/group/date.rb +51 -0
  1496. data/lib/tokyo_metro/modules/api/to_factory/generate/group/normal.rb +51 -0
  1497. data/lib/tokyo_metro/modules/api/to_factory/generate/group/train_location.rb +58 -0
  1498. data/lib/tokyo_metro/modules/api/to_factory/get.rb +3 -0
  1499. data/lib/tokyo_metro/modules/api/to_factory/get/geo.rb +32 -0
  1500. data/lib/tokyo_metro/modules/api/to_factory/save.rb +3 -0
  1501. data/lib/tokyo_metro/modules/api/to_factory/save/group.rb +3 -0
  1502. data/lib/tokyo_metro/modules/api/to_factory/save/group/normal.rb +21 -0
  1503. data/lib/tokyo_metro/modules/api/to_factory/save/info.rb +2 -0
  1504. data/lib/tokyo_metro/modules/api/to_factory/save/info/data_search.rb +28 -0
  1505. data/lib/tokyo_metro/modules/common.rb +2 -0
  1506. data/lib/tokyo_metro/modules/common/convert_constant_to_class_method.rb +35 -0
  1507. data/lib/tokyo_metro/modules/common/dictionary.rb +2 -0
  1508. data/lib/tokyo_metro/modules/common/dictionary/barrier_free_facility.rb +7 -0
  1509. data/lib/tokyo_metro/modules/common/dictionary/operation_day.rb +30 -0
  1510. data/lib/tokyo_metro/modules/common/dictionary/railway_line.rb +2 -0
  1511. data/lib/tokyo_metro/modules/common/dictionary/railway_line/regexp_info.rb +74 -0
  1512. data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_info.rb +62 -0
  1513. data/lib/tokyo_metro/modules/common/dictionary/railway_line/string_list.rb +105 -0
  1514. data/lib/tokyo_metro/modules/common/dictionary/romance_car.rb +26 -0
  1515. data/lib/tokyo_metro/modules/common/dictionary/station.rb +71 -0
  1516. data/lib/tokyo_metro/modules/common/dictionary/station/regexp_info.rb +52 -0
  1517. data/lib/tokyo_metro/modules/common/dictionary/station/string_info.rb +45 -0
  1518. data/lib/tokyo_metro/modules/common/dictionary/station/string_list.rb +505 -0
  1519. data/lib/tokyo_metro/modules/common/info.rb +2 -0
  1520. data/lib/tokyo_metro/modules/common/info/decision.rb +2 -0
  1521. data/lib/tokyo_metro/modules/common/info/decision/actual_starting_station.rb +97 -0
  1522. data/lib/tokyo_metro/modules/common/info/decision/actual_terminal_station.rb +104 -0
  1523. data/lib/tokyo_metro/modules/common/info/decision/arrival_station.rb +41 -0
  1524. data/lib/tokyo_metro/modules/common/info/decision/compare_base.rb +30 -0
  1525. data/lib/tokyo_metro/modules/common/info/decision/current_station.rb +132 -0
  1526. data/lib/tokyo_metro/modules/common/info/decision/operator.rb +19 -0
  1527. data/lib/tokyo_metro/modules/common/info/decision/railway_line.rb +54 -0
  1528. data/lib/tokyo_metro/modules/common/info/decision/romance_car.rb +28 -0
  1529. data/lib/tokyo_metro/modules/common/info/decision/same_as.rb +7 -0
  1530. data/lib/tokyo_metro/modules/common/info/decision/starting_station.rb +106 -0
  1531. data/lib/tokyo_metro/modules/common/info/decision/terminal_station.rb +109 -0
  1532. data/lib/tokyo_metro/modules/common/info/decision/toei_mita_line.rb +60 -0
  1533. data/lib/tokyo_metro/modules/common/info/decision/train_operation_day.rb +40 -0
  1534. data/lib/tokyo_metro/modules/common/info/decision/train_type.rb +112 -0
  1535. data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line.rb +45 -0
  1536. data/lib/tokyo_metro/modules/common/info/new_and_old_railway_line/set_time.rb +23 -0
  1537. data/lib/tokyo_metro/modules/common/info/operator.rb +11 -0
  1538. data/lib/tokyo_metro/modules/common/info/railway_line.rb +21 -0
  1539. data/lib/tokyo_metro/modules/common/info/railway_line/branch_line.rb +12 -0
  1540. data/lib/tokyo_metro/modules/common/info/station.rb +2 -0
  1541. data/lib/tokyo_metro/modules/common/info/station/connecting_railway_line.rb +31 -0
  1542. data/lib/tokyo_metro/modules/common/info/station_facility.rb +2 -0
  1543. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free.rb +15 -0
  1544. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator.rb +2 -0
  1545. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail.rb +2 -0
  1546. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/escalator/service_detail/direction.rb +82 -0
  1547. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/located_area.rb +11 -0
  1548. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter.rb +2 -0
  1549. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility.rb +2 -0
  1550. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/alias_towards_availability.rb +7 -0
  1551. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/accessibility/all.rb +10 -0
  1552. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability.rb +2 -0
  1553. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/alias_towards_accessibility.rb +7 -0
  1554. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/availability/none.rb +11 -0
  1555. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/mobility_scooter/method_missing.rb +30 -0
  1556. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/toilet_assistant.rb +110 -0
  1557. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair.rb +2 -0
  1558. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility.rb +2 -0
  1559. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/alias_towards_availability.rb +7 -0
  1560. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/accessibility/all.rb +14 -0
  1561. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability.rb +2 -0
  1562. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/alias_towards_accessibility.rb +7 -0
  1563. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/availability/escalator.rb +31 -0
  1564. data/lib/tokyo_metro/modules/common/info/station_facility/barrier_free/wheel_chair/method_missing.rb +30 -0
  1565. data/lib/tokyo_metro/modules/common/to_factory.rb +2 -0
  1566. data/lib/tokyo_metro/modules/common/to_factory/generate.rb +2 -0
  1567. data/lib/tokyo_metro/modules/common/to_factory/generate/info.rb +24 -0
  1568. data/lib/tokyo_metro/modules/common/to_factory/seed.rb +2 -0
  1569. data/lib/tokyo_metro/modules/common/to_factory/seed/group.rb +48 -0
  1570. data/lib/tokyo_metro/modules/common/to_factory/seed/hash.rb +14 -0
  1571. data/lib/tokyo_metro/modules/common/to_factory/seed/info.rb +22 -0
  1572. data/lib/tokyo_metro/modules/common/to_factory/seed/list.rb +14 -0
  1573. data/lib/tokyo_metro/modules/db.rb +2 -0
  1574. data/lib/tokyo_metro/modules/db/decision.rb +2 -0
  1575. data/lib/tokyo_metro/modules/db/decision/current_station.rb +9 -0
  1576. data/lib/tokyo_metro/modules/db/decision/operator.rb +9 -0
  1577. data/lib/tokyo_metro/modules/db/decision/railway_line.rb +13 -0
  1578. data/lib/tokyo_metro/modules/db/decision/train_type.rb +19 -0
  1579. data/lib/tokyo_metro/modules/db/model.rb +37 -0
  1580. data/lib/tokyo_metro/modules/db/select.rb +2 -0
  1581. data/lib/tokyo_metro/modules/db/select/operation_day.rb +28 -0
  1582. data/lib/tokyo_metro/modules/static.rb +3 -0
  1583. data/lib/tokyo_metro/modules/static/get_background_color_info.rb +3 -0
  1584. data/lib/tokyo_metro/modules/static/get_background_color_info/base.rb +16 -0
  1585. data/lib/tokyo_metro/modules/static/get_background_color_info/each_rgb_element.rb +22 -0
  1586. data/lib/tokyo_metro/modules/static/get_color_info.rb +3 -0
  1587. data/lib/tokyo_metro/modules/static/get_color_info/base.rb +16 -0
  1588. data/lib/tokyo_metro/modules/static/get_color_info/each_rgb_element.rb +22 -0
  1589. data/lib/tokyo_metro/modules/static/get_name.rb +73 -0
  1590. data/lib/tokyo_metro/modules/static/hash.rb +3 -0
  1591. data/lib/tokyo_metro/modules/static/hash/define_test.rb +28 -0
  1592. data/lib/tokyo_metro/modules/static/hash/make_scss.rb +35 -0
  1593. data/lib/tokyo_metro/modules/static/hash/process_haml.rb +28 -0
  1594. data/lib/tokyo_metro/modules/static/to_factory.rb +3 -0
  1595. data/lib/tokyo_metro/modules/static/to_factory/generate.rb +2 -0
  1596. data/lib/tokyo_metro/modules/static/to_factory/generate/group.rb +2 -0
  1597. data/lib/tokyo_metro/modules/static/to_factory/generate/group/multiple_yamls.rb +27 -0
  1598. data/lib/tokyo_metro/modules/static/to_factory/generate/group/one_yaml.rb +27 -0
  1599. data/lib/tokyo_metro/rake.rb +17 -0
  1600. data/lib/tokyo_metro/rake/assets.rb +2 -0
  1601. data/lib/tokyo_metro/rake/assets/image.rb +2 -0
  1602. data/lib/tokyo_metro/rake/assets/image/svg_files.rb +19 -0
  1603. data/lib/tokyo_metro/rake/assets/image/svg_files/each_file.rb +72 -0
  1604. data/lib/tokyo_metro/rake/assets/sass.rb +2 -0
  1605. data/lib/tokyo_metro/rake/assets/sass/make.rb +49 -0
  1606. data/lib/tokyo_metro/rake/bug_fix.rb +2 -0
  1607. data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility.rb +2 -0
  1608. data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail.rb +2 -0
  1609. data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail.rb +2 -0
  1610. data/lib/tokyo_metro/rake/bug_fix/barrier_free_facility/service_detail/service_detail/pattern.rb +104 -0
  1611. data/lib/tokyo_metro/rake/check_namespace.rb +2 -0
  1612. data/lib/tokyo_metro/rake/check_namespace/rename_table.rb +17 -0
  1613. data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace.rb +92 -0
  1614. data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/match_group.rb +22 -0
  1615. data/lib/tokyo_metro/rake/check_namespace/rename_table/namespace/matched_row.rb +30 -0
  1616. data/lib/tokyo_metro/rake/debug.rb +2 -0
  1617. data/lib/tokyo_metro/rake/debug/station_facility.rb +88 -0
  1618. data/lib/tokyo_metro/rake/log.rb +2 -0
  1619. data/lib/tokyo_metro/rake/log/finder.rb +17 -0
  1620. data/lib/tokyo_metro/rake/rails.rb +2 -0
  1621. data/lib/tokyo_metro/rake/rails/deploy.rb +2 -0
  1622. data/lib/tokyo_metro/rake/rails/deploy/heroku.rb +61 -0
  1623. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv.rb +29 -0
  1624. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command.rb +15 -0
  1625. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/export_from_sqlite.rb +34 -0
  1626. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_postgresql.rb +22 -0
  1627. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/import_to_sqlite.rb +29 -0
  1628. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class.rb +67 -0
  1629. data/lib/tokyo_metro/rake/rails/deploy/heroku/csv/command/meta_class/table.rb +19 -0
  1630. data/lib/tokyo_metro/rake/rails/deploy/heroku/file_info.rb +8 -0
  1631. data/lib/tokyo_metro/rake/rails/deploy/heroku/migration_file.rb +26 -0
  1632. data/lib/tokyo_metro/rake/rails/deploy/heroku/schema_file.rb +17 -0
  1633. data/lib/tokyo_metro/rake/update.rb +2 -0
  1634. data/lib/tokyo_metro/rake/update/connecting_railway_line.rb +2 -0
  1635. data/lib/tokyo_metro/rake/update/connecting_railway_line/nakano_sakaue.rb +111 -0
  1636. data/lib/tokyo_metro/refinement.rb +2 -0
  1637. data/lib/tokyo_metro/refinement/api.rb +2 -0
  1638. data/lib/tokyo_metro/refinement/api/station_timetable.rb +2 -0
  1639. data/lib/tokyo_metro/refinement/api/station_timetable/info.rb +2 -0
  1640. data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental.rb +2 -0
  1641. data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/info.rb +19 -0
  1642. data/lib/tokyo_metro/refinement/api/station_timetable/info/fundamental/list.rb +25 -0
  1643. data/lib/tokyo_metro/refinement/api/station_timetable/info/train.rb +2 -0
  1644. data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info.rb +2 -0
  1645. data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/optional_info_id.rb +36 -0
  1646. data/lib/tokyo_metro/refinement/api/station_timetable/info/train/info/terminal_stations_same_as.rb +15 -0
  1647. data/lib/tokyo_metro/refinement/api/train_timetable.rb +2 -0
  1648. data/lib/tokyo_metro/refinement/api/train_timetable/info.rb +2 -0
  1649. data/lib/tokyo_metro/refinement/api/train_timetable/info/match.rb +18 -0
  1650. data/lib/tokyo_metro/required.rb +16 -0
  1651. data/lib/tokyo_metro/required/all.rb +82 -0
  1652. data/lib/tokyo_metro/required/all/api.rb +48 -0
  1653. data/lib/tokyo_metro/required/all/api/meta_class.rb +19 -0
  1654. data/lib/tokyo_metro/required/all/api/point.rb +14 -0
  1655. data/lib/tokyo_metro/required/all/api/railway_line.rb +2 -0
  1656. data/lib/tokyo_metro/required/all/api/station.rb +2 -0
  1657. data/lib/tokyo_metro/required/all/api/station_facility.rb +11 -0
  1658. data/lib/tokyo_metro/required/all/api/station_facility/info.rb +15 -0
  1659. data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free.rb +12 -0
  1660. data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility.rb +7 -0
  1661. data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class.rb +7 -0
  1662. data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/facility/meta_class/link_for_mobility_scooters_and_stairlift.rb +13 -0
  1663. data/lib/tokyo_metro/required/all/api/station_facility/info/barrier_free/service_detail.rb +2 -0
  1664. data/lib/tokyo_metro/required/all/api/station_facility/info/platform.rb +7 -0
  1665. data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info.rb +7 -0
  1666. data/lib/tokyo_metro/required/all/api/station_facility/info/platform/info/common.rb +2 -0
  1667. data/lib/tokyo_metro/required/all/api/station_timetable.rb +7 -0
  1668. data/lib/tokyo_metro/required/all/api/station_timetable/info.rb +14 -0
  1669. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time.rb +14 -0
  1670. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info.rb +11 -0
  1671. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note.rb +16 -0
  1672. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/shirokane_takanawa.rb +2 -0
  1673. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/starting_station.rb +13 -0
  1674. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin.rb +15 -0
  1675. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/kotake_mukaihara.rb +2 -0
  1676. data/lib/tokyo_metro/required/all/api/station_timetable/info/train_time/info/note/yurakucho_fukutoshin/train_type.rb +30 -0
  1677. data/lib/tokyo_metro/required/all/api/station_train_time.rb +2 -0
  1678. data/lib/tokyo_metro/required/all/api/train_location.rb +2 -0
  1679. data/lib/tokyo_metro/required/all/api/train_operation.rb +2 -0
  1680. data/lib/tokyo_metro/required/all/api/train_timetable.rb +7 -0
  1681. data/lib/tokyo_metro/required/all/api/train_timetable/info.rb +11 -0
  1682. data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time.rb +11 -0
  1683. data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info.rb +11 -0
  1684. data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation.rb +11 -0
  1685. data/lib/tokyo_metro/required/all/api/train_timetable/info/station_time/info/train_relation/meta_class.rb +13 -0
  1686. data/lib/tokyo_metro/required/all/app.rb +11 -0
  1687. data/lib/tokyo_metro/required/all/app/renderer.rb +16 -0
  1688. data/lib/tokyo_metro/required/all/app/renderer/concern.rb +10 -0
  1689. data/lib/tokyo_metro/required/all/app/renderer/concerns/header.rb +11 -0
  1690. data/lib/tokyo_metro/required/all/app/renderer/concerns/header/title.rb +7 -0
  1691. data/lib/tokyo_metro/required/all/app/renderer/concerns/link.rb +10 -0
  1692. data/lib/tokyo_metro/required/all/app/renderer/concerns/link/normal.rb +2 -0
  1693. data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page.rb +11 -0
  1694. data/lib/tokyo_metro/required/all/app/renderer/concerns/link/to_railway_line_page/connecting_railway_line.rb +10 -0
  1695. data/lib/tokyo_metro/required/all/app/renderer/document.rb +2 -0
  1696. data/lib/tokyo_metro/required/all/app/renderer/passenger_survey.rb +7 -0
  1697. data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/side_menu.rb +7 -0
  1698. data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table.rb +7 -0
  1699. data/lib/tokyo_metro/required/all/app/renderer/passenger_survey/table/meta_class.rb +2 -0
  1700. data/lib/tokyo_metro/required/all/app/renderer/side_menu.rb +10 -0
  1701. data/lib/tokyo_metro/required/all/app/renderer/side_menu/link.rb +10 -0
  1702. data/lib/tokyo_metro/required/all/app/renderer/side_menu/link/to_main_content.rb +7 -0
  1703. data/lib/tokyo_metro/required/all/app/renderer/side_menu/now_developing.rb +2 -0
  1704. data/lib/tokyo_metro/required/all/app/renderer/station_facility.rb +7 -0
  1705. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform.rb +7 -0
  1706. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info.rb +19 -0
  1707. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_meguro_and_shirokane_takanawa.rb +7 -0
  1708. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_hikawadai.rb +9 -0
  1709. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/between_wakoshi_and_kotake_mukaihara.rb +7 -0
  1710. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/kotake_mukaihara.rb +9 -0
  1711. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meguro_and_shirokanedai.rb +10 -0
  1712. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class.rb +9 -0
  1713. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row.rb +10 -0
  1714. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/meta_class/table_row/barrier_free_facility_infos.rb +8 -0
  1715. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/multiple_railway_lines.rb +9 -0
  1716. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/normal.rb +9 -0
  1717. data/lib/tokyo_metro/required/all/app/renderer/station_facility/platform/info/shirokane_takanawa.rb +9 -0
  1718. data/lib/tokyo_metro/required/all/app/renderer/station_link_list.rb +7 -0
  1719. data/lib/tokyo_metro/required/all/app/renderer/travel_time_info.rb +7 -0
  1720. data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/meta_class.rb +9 -0
  1721. data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line.rb +7 -0
  1722. data/lib/tokyo_metro/required/all/app/renderer/travel_time_info/railway_line/yurakucho_and_fukutoshin_line.rb +2 -0
  1723. data/lib/tokyo_metro/required/all/app/renderer/twitter.rb +2 -0
  1724. data/lib/tokyo_metro/required/all/class_name_library.rb +7 -0
  1725. data/lib/tokyo_metro/required/all/class_name_library/api.rb +7 -0
  1726. data/lib/tokyo_metro/required/all/class_name_library/api/station_train_time.rb +2 -0
  1727. data/lib/tokyo_metro/required/all/document.rb +2 -0
  1728. data/lib/tokyo_metro/required/all/factory.rb +26 -0
  1729. data/lib/tokyo_metro/required/all/factory/before_decorate.rb +2 -0
  1730. data/lib/tokyo_metro/required/all/factory/before_seed.rb +6 -0
  1731. data/lib/tokyo_metro/required/all/factory/before_seed/api.rb +7 -0
  1732. data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class.rb +7 -0
  1733. data/lib/tokyo_metro/required/all/factory/before_seed/api/meta_class/timetables.rb +10 -0
  1734. data/lib/tokyo_metro/required/all/factory/common.rb +2 -0
  1735. data/lib/tokyo_metro/required/all/factory/convert.rb +16 -0
  1736. data/lib/tokyo_metro/required/all/factory/convert/common.rb +13 -0
  1737. data/lib/tokyo_metro/required/all/factory/convert/common/api.rb +17 -0
  1738. data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class.rb +10 -0
  1739. data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/fundamental.rb +2 -0
  1740. data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos.rb +7 -0
  1741. data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class.rb +7 -0
  1742. data/lib/tokyo_metro/required/all/factory/convert/common/api/meta_class/train_infos/meta_class/station_name.rb +2 -0
  1743. data/lib/tokyo_metro/required/all/factory/convert/common/api/station.rb +2 -0
  1744. data/lib/tokyo_metro/required/all/factory/convert/common/api/station_facility.rb +2 -0
  1745. data/lib/tokyo_metro/required/all/factory/convert/common/api/station_infos.rb +2 -0
  1746. data/lib/tokyo_metro/required/all/factory/convert/common/api/station_timetable.rb +2 -0
  1747. data/lib/tokyo_metro/required/all/factory/convert/customize.rb +13 -0
  1748. data/lib/tokyo_metro/required/all/factory/convert/customize/api.rb +19 -0
  1749. data/lib/tokyo_metro/required/all/factory/convert/customize/api/fare.rb +2 -0
  1750. data/lib/tokyo_metro/required/all/factory/convert/customize/api/railway_line.rb +2 -0
  1751. data/lib/tokyo_metro/required/all/factory/convert/customize/api/station.rb +2 -0
  1752. data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_facility.rb +2 -0
  1753. data/lib/tokyo_metro/required/all/factory/convert/customize/api/station_timetable.rb +2 -0
  1754. data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_location.rb +2 -0
  1755. data/lib/tokyo_metro/required/all/factory/convert/customize/api/train_timetable.rb +2 -0
  1756. data/lib/tokyo_metro/required/all/factory/convert/dictionary.rb +2 -0
  1757. data/lib/tokyo_metro/required/all/factory/convert/patch.rb +14 -0
  1758. data/lib/tokyo_metro/required/all/factory/convert/patch/api.rb +7 -0
  1759. data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable.rb +7 -0
  1760. data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line.rb +7 -0
  1761. data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement.rb +7 -0
  1762. data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info.rb +7 -0
  1763. data/lib/tokyo_metro/required/all/factory/convert/patch/api/train_timetable/yurakucho_line/refinement/info/station_time.rb +7 -0
  1764. data/lib/tokyo_metro/required/all/factory/convert/patch/for_string.rb +2 -0
  1765. data/lib/tokyo_metro/required/all/factory/decorate.rb +10 -0
  1766. data/lib/tokyo_metro/required/all/factory/decorate/api.rb +7 -0
  1767. data/lib/tokyo_metro/required/all/factory/decorate/api/meta_class.rb +2 -0
  1768. data/lib/tokyo_metro/required/all/factory/generate.rb +11 -0
  1769. data/lib/tokyo_metro/required/all/factory/generate/api.rb +11 -0
  1770. data/lib/tokyo_metro/required/all/factory/generate/api/meta_class.rb +10 -0
  1771. data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info.rb +10 -0
  1772. data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental.rb +7 -0
  1773. data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/info/fundamental/validity_checker.rb +7 -0
  1774. data/lib/tokyo_metro/required/all/factory/generate/api/meta_class/list.rb +7 -0
  1775. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility.rb +11 -0
  1776. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info.rb +11 -0
  1777. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free.rb +11 -0
  1778. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info.rb +11 -0
  1779. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/barrier_free/info/service_detail.rb +11 -0
  1780. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform.rb +11 -0
  1781. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info.rb +11 -0
  1782. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/info/platform/info/barrier_free_and_surrounding_area.rb +11 -0
  1783. data/lib/tokyo_metro/required/all/factory/generate/api/station_facility/list.rb +2 -0
  1784. data/lib/tokyo_metro/required/all/factory/generate/static.rb +11 -0
  1785. data/lib/tokyo_metro/required/all/factory/generate/static/color.rb +2 -0
  1786. data/lib/tokyo_metro/required/all/factory/generate/static/meta_class.rb +7 -0
  1787. data/lib/tokyo_metro/required/all/factory/generate/static/meta_class/group.rb +9 -0
  1788. data/lib/tokyo_metro/required/all/factory/generate/static/train_type.rb +11 -0
  1789. data/lib/tokyo_metro/required/all/factory/get.rb +11 -0
  1790. data/lib/tokyo_metro/required/all/factory/get/api.rb +7 -0
  1791. data/lib/tokyo_metro/required/all/factory/get/api/meta_class.rb +7 -0
  1792. data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental.rb +2 -0
  1793. data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator.rb +2 -0
  1794. data/lib/tokyo_metro/required/all/factory/get/api/meta_class/fundamental/generator/new_array.rb +7 -0
  1795. data/lib/tokyo_metro/required/all/factory/save.rb +11 -0
  1796. data/lib/tokyo_metro/required/all/factory/save/api.rb +11 -0
  1797. data/lib/tokyo_metro/required/all/factory/save/api/meta_class.rb +16 -0
  1798. data/lib/tokyo_metro/required/all/factory/scss.rb +16 -0
  1799. data/lib/tokyo_metro/required/all/factory/seed.rb +12 -0
  1800. data/lib/tokyo_metro/required/all/factory/seed/api.rb +13 -0
  1801. data/lib/tokyo_metro/required/all/factory/seed/api/meta_class.rb +2 -0
  1802. data/lib/tokyo_metro/required/all/factory/seed/api/station.rb +14 -0
  1803. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility.rb +7 -0
  1804. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info.rb +7 -0
  1805. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free.rb +11 -0
  1806. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/barrier_free/service_detail.rb +2 -0
  1807. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/common.rb +7 -0
  1808. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform.rb +7 -0
  1809. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info.rb +7 -0
  1810. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/info/platform/info/common.rb +7 -0
  1811. data/lib/tokyo_metro/required/all/factory/seed/api/station_facility/list.rb +7 -0
  1812. data/lib/tokyo_metro/required/all/factory/seed/api/station_timetable.rb +15 -0
  1813. data/lib/tokyo_metro/required/all/factory/seed/api/train_timetable.rb +19 -0
  1814. data/lib/tokyo_metro/required/all/factory/seed/common.rb +7 -0
  1815. data/lib/tokyo_metro/required/all/factory/seed/reference.rb +7 -0
  1816. data/lib/tokyo_metro/required/all/factory/seed/static.rb +12 -0
  1817. data/lib/tokyo_metro/required/all/factory/seed/static/meta_class.rb +2 -0
  1818. data/lib/tokyo_metro/required/all/factory/seed/static/operator.rb +2 -0
  1819. data/lib/tokyo_metro/required/all/factory/seed/static/railway_line.rb +2 -0
  1820. data/lib/tokyo_metro/required/all/factory/seed/static/station.rb +7 -0
  1821. data/lib/tokyo_metro/required/all/factory/yaml_station_list.rb +2 -0
  1822. data/lib/tokyo_metro/required/all/initializer.rb +2 -0
  1823. data/lib/tokyo_metro/required/all/modules.rb +16 -0
  1824. data/lib/tokyo_metro/required/all/modules/api.rb +2 -0
  1825. data/lib/tokyo_metro/required/all/modules/common.rb +20 -0
  1826. data/lib/tokyo_metro/required/all/others.rb +29 -0
  1827. data/lib/tokyo_metro/required/all/rake.rb +7 -0
  1828. data/lib/tokyo_metro/required/all/rake/rails.rb +7 -0
  1829. data/lib/tokyo_metro/required/all/rake/rails/deploy.rb +7 -0
  1830. data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku.rb +7 -0
  1831. data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv.rb +7 -0
  1832. data/lib/tokyo_metro/required/all/rake/rails/deploy/heroku/csv/command.rb +7 -0
  1833. data/lib/tokyo_metro/required/all/refinement.rb +7 -0
  1834. data/lib/tokyo_metro/required/all/refinement/api.rb +7 -0
  1835. data/lib/tokyo_metro/required/all/refinement/api/station_timetable.rb +14 -0
  1836. data/lib/tokyo_metro/required/all/search.rb +2 -0
  1837. data/lib/tokyo_metro/required/all/static.rb +14 -0
  1838. data/lib/tokyo_metro/required/all/static/except_for_train_type.rb +34 -0
  1839. data/lib/tokyo_metro/required/all/static/train_type.rb +26 -0
  1840. data/lib/tokyo_metro/required/all/temp_lib.rb +2 -0
  1841. data/lib/tokyo_metro/required/all/test.rb +2 -0
  1842. data/lib/tokyo_metro/search.rb +3 -0
  1843. data/lib/tokyo_metro/search/railway_line.rb +84 -0
  1844. data/lib/tokyo_metro/static.rb +65 -0
  1845. data/lib/tokyo_metro/static/color.rb +71 -0
  1846. data/lib/tokyo_metro/static/fare.rb +21 -0
  1847. data/lib/tokyo_metro/static/fare/normal.rb +70 -0
  1848. data/lib/tokyo_metro/static/fare/normal/table.rb +84 -0
  1849. data/lib/tokyo_metro/static/fare/normal/table/list.rb +46 -0
  1850. data/lib/tokyo_metro/static/fare/normal/table/pattern.rb +177 -0
  1851. data/lib/tokyo_metro/static/fundamental.rb +3 -0
  1852. data/lib/tokyo_metro/static/fundamental/hash.rb +4 -0
  1853. data/lib/tokyo_metro/static/fundamental/meta_class.rb +3 -0
  1854. data/lib/tokyo_metro/static/fundamental/meta_class/using_multiple_yamls.rb +4 -0
  1855. data/lib/tokyo_metro/static/fundamental/meta_class/using_one_yaml.rb +4 -0
  1856. data/lib/tokyo_metro/static/operation_day.rb +28 -0
  1857. data/lib/tokyo_metro/static/operation_day/info.rb +32 -0
  1858. data/lib/tokyo_metro/static/operation_day/list.rb +15 -0
  1859. data/lib/tokyo_metro/static/operator.rb +12 -0
  1860. data/lib/tokyo_metro/static/operator/hash.rb +20 -0
  1861. data/lib/tokyo_metro/static/operator/info.rb +646 -0
  1862. data/lib/tokyo_metro/static/railway_direction.rb +12 -0
  1863. data/lib/tokyo_metro/static/railway_direction/hash.rb +7 -0
  1864. data/lib/tokyo_metro/static/railway_direction/info.rb +19 -0
  1865. data/lib/tokyo_metro/static/railway_line.rb +16 -0
  1866. data/lib/tokyo_metro/static/railway_line/hash.rb +32 -0
  1867. data/lib/tokyo_metro/static/railway_line/info.rb +1755 -0
  1868. data/lib/tokyo_metro/static/station.rb +12 -0
  1869. data/lib/tokyo_metro/static/station/in_each_railway_line.rb +24 -0
  1870. data/lib/tokyo_metro/static/station/in_each_railway_line/info.rb +128 -0
  1871. data/lib/tokyo_metro/static/station/railway_lines.rb +64 -0
  1872. data/lib/tokyo_metro/static/stations_in_tokyo_metro.rb +12 -0
  1873. data/lib/tokyo_metro/static/stations_in_tokyo_metro/hash.rb +26 -0
  1874. data/lib/tokyo_metro/static/stations_in_tokyo_metro/info.rb +302 -0
  1875. data/lib/tokyo_metro/static/stopping_pattern.rb +5 -0
  1876. data/lib/tokyo_metro/static/train_operation_status.rb +15 -0
  1877. data/lib/tokyo_metro/static/train_operation_status/info.rb +15 -0
  1878. data/lib/tokyo_metro/static/train_operation_status/list.rb +6 -0
  1879. data/lib/tokyo_metro/static/train_owner.rb +12 -0
  1880. data/lib/tokyo_metro/static/train_owner/hash.rb +7 -0
  1881. data/lib/tokyo_metro/static/train_owner/info.rb +374 -0
  1882. data/lib/tokyo_metro/static/train_type.rb +27 -0
  1883. data/lib/tokyo_metro/static/train_type/color.rb +4 -0
  1884. data/lib/tokyo_metro/static/train_type/color/hash.rb +3 -0
  1885. data/lib/tokyo_metro/static/train_type/color/info.rb +87 -0
  1886. data/lib/tokyo_metro/static/train_type/custom.rb +3 -0
  1887. data/lib/tokyo_metro/static/train_type/custom/default_setting.rb +4 -0
  1888. data/lib/tokyo_metro/static/train_type/custom/default_setting/hash.rb +4 -0
  1889. data/lib/tokyo_metro/static/train_type/custom/default_setting/info.rb +65 -0
  1890. data/lib/tokyo_metro/static/train_type/custom/main.rb +4 -0
  1891. data/lib/tokyo_metro/static/train_type/custom/main/hash.rb +7 -0
  1892. data/lib/tokyo_metro/static/train_type/custom/main/info.rb +55 -0
  1893. data/lib/tokyo_metro/static/train_type/custom/other_operator.rb +4 -0
  1894. data/lib/tokyo_metro/static/train_type/custom/other_operator/hash.rb +4 -0
  1895. data/lib/tokyo_metro/static/train_type/custom/other_operator/info.rb +259 -0
  1896. data/lib/tokyo_metro/static/train_type/in_api.rb +4 -0
  1897. data/lib/tokyo_metro/static/train_type/in_api/hash.rb +7 -0
  1898. data/lib/tokyo_metro/static/train_type/in_api/info.rb +220 -0
  1899. data/lib/tokyo_metro/temp_lib.rb +2 -0
  1900. data/lib/tokyo_metro/temp_lib/railway_line_array_module.rb +60 -0
  1901. data/lib/tokyo_metro/test.rb +2 -0
  1902. data/lib/tokyo_metro/test/api.rb +2 -0
  1903. data/lib/tokyo_metro/test/api/train_timetable.rb +62 -0
  1904. data/lib/tokyo_metro/test/api/train_timetable/train_info.rb +83 -0
  1905. data/lib/tokyo_metro/version.rb +3 -0
  1906. data/rake/count_rows.rb +47 -0
  1907. data/rake/get_and_save_datas_from_api.rake +74 -0
  1908. data/rake/list_up.rake +29 -0
  1909. data/rake/load.rake +15 -0
  1910. data/rake/loop.rb +10 -0
  1911. data/rake/make.rake +71 -0
  1912. data/rake/output.rake +12 -0
  1913. data/rake/process.rake +56 -0
  1914. data/rake/rename_table.rb +23 -0
  1915. data/rake/test/check.rake +37 -0
  1916. data/rake/test/define.rake +58 -0
  1917. data/rake/test/get.rake +140 -0
  1918. data/rake/test/save.rake +21 -0
  1919. data/tokyo_metro.gemspec +51 -0
  1920. metadata +2163 -0
@@ -0,0 +1,3 @@
1
+ # 基本的なクラスを格納する名前空間
2
+ module TokyoMetro::Static::Fundamental
3
+ end
@@ -0,0 +1,4 @@
1
+ # 複数の情報を扱うクラス(ハッシュ)
2
+ class TokyoMetro::Static::Fundamental::Hash < ::Hash
3
+ include TokyoMetro::Modules::Static::Hash::DefineTest
4
+ end
@@ -0,0 +1,3 @@
1
+ # それぞれの具体的な情報を統括するクラスを格納する名前空間
2
+ module TokyoMetro::Static::Fundamental::MetaClass
3
+ end
@@ -0,0 +1,4 @@
1
+ # それぞれの具体的な情報を統括するクラスのメタクラス(複数の YAML ファイルを扱うクラス)
2
+ class TokyoMetro::Static::Fundamental::MetaClass::UsingMultipleYamls
3
+ include ::TokyoMetro::Modules::Static::ToFactory::Generate::Group::MultipleYamls
4
+ end
@@ -0,0 +1,4 @@
1
+ # それぞれの具体的な情報を統括するクラスのメタクラス(単一の YAML ファイルを扱うクラス)
2
+ class TokyoMetro::Static::Fundamental::MetaClass::UsingOneYaml
3
+ include ::TokyoMetro::Modules::Static::ToFactory::Generate::Group::OneYaml
4
+ end
@@ -0,0 +1,28 @@
1
+ class TokyoMetro::Static::OperationDay < TokyoMetro::Static::Fundamental::MetaClass::UsingOneYaml
2
+
3
+ include ::TokyoMetro::ClassNameLibrary::Static::OperationDay
4
+
5
+ # @!group 運行日のリスト
6
+
7
+ # 定数を設定するクラスメソッド
8
+ # @return [nil]
9
+ def self.set_constant
10
+ ::TokyoMetro::Static.const_set( :OPERATION_DAYS , self.generate_from_yaml )
11
+ end
12
+
13
+ # @!endgroup
14
+
15
+ def self.of_current
16
+ as_of( ::TokyoMetro.time_now )
17
+ end
18
+
19
+ def self.as_of( time )
20
+ if time.hour < ::TokyoMetro::DATE_CHANGING_HOUR
21
+ t = time.yesterday
22
+ else
23
+ t = time
24
+ end
25
+ ::DateTime.new( t.year , t.month , t.day , 12 , 0 , 0 , t.zone )
26
+ end
27
+
28
+ end
@@ -0,0 +1,32 @@
1
+ class TokyoMetro::Static::OperationDay::Info
2
+
3
+ include ::TokyoMetro::ClassNameLibrary::Static::OperationDay
4
+ include ::TokyoMetro::Modules::Common::ToFactory::Generate::Info
5
+ include ::TokyoMetro::Modules::Common::ToFactory::Seed::Info
6
+
7
+ def initialize( name_ja , name_en , same_as )
8
+ @name_ja = name_ja
9
+ @name_en = name_en
10
+ @same_as = same_as
11
+ end
12
+
13
+ attr_reader :name_ja
14
+ attr_reader :name_en
15
+ attr_reader :same_as
16
+
17
+ alias :ja :name_ja
18
+ alias :en :name_en
19
+
20
+ def to_a
21
+ [ @name_ja , @name_en , @same_as ]
22
+ end
23
+
24
+ def to_h
25
+ { name_ja: @name_ja , name_en: @name_en , same_as: @same_as }
26
+ end
27
+
28
+ def match?( operation_day )
29
+ self.to_a.include?( operation_day ) or @name_en.gsub( /\,? / , "_" ).downcase.to_s == operation_day.to_s
30
+ end
31
+
32
+ end
@@ -0,0 +1,15 @@
1
+ class TokyoMetro::Static::OperationDay::List < Array
2
+
3
+ include ::TokyoMetro::ClassNameLibrary::Static::OperationDay
4
+ include ::TokyoMetro::Modules::Common::ToFactory::Seed::List
5
+
6
+ def method_missing( method_name , *args )
7
+ info = self.find { | item | item.match?( method_name ) }
8
+ if info.present?
9
+ return info
10
+ else
11
+ super( method_name , *args )
12
+ end
13
+ end
14
+
15
+ end
@@ -0,0 +1,12 @@
1
+ # 鉄道事業者の情報を扱うクラス
2
+ class TokyoMetro::Static::Operator < TokyoMetro::Static::Fundamental::MetaClass::UsingOneYaml
3
+
4
+ include ::TokyoMetro::ClassNameLibrary::Static::Operator
5
+
6
+ # 定数を設定するクラスメソッド
7
+ # @return [nil]
8
+ def self.set_constant
9
+ ::TokyoMetro::Static.const_set( :OPERATORS , self.generate_from_yaml )
10
+ end
11
+
12
+ end
@@ -0,0 +1,20 @@
1
+ # 複数の鉄道事業者の情報を扱うクラス(ハッシュ)
2
+ class TokyoMetro::Static::Operator::Hash < ::TokyoMetro::Static::Fundamental::Hash
3
+
4
+ include ::TokyoMetro::ClassNameLibrary::Static::Operator
5
+ include ::TokyoMetro::Modules::Common::ToFactory::Seed::Hash
6
+ include ::TokyoMetro::Modules::Static::Hash::MakeScss
7
+
8
+ # テスト用メソッド
9
+ # @param title [Strng] 表示するタイトル(設定しない場合は、ハッシュの上位の名前空間の名称)
10
+ # @return [nil]
11
+ def define_test( title = self.class.upper_namespace.name )
12
+ super( title )
13
+ puts ""
14
+ puts "○ CSS class name"
15
+ puts self.values.map( &:css_class_name )
16
+
17
+ return nil
18
+ end
19
+
20
+ end
@@ -0,0 +1,646 @@
1
+ # 個別の鉄道事業者の情報を扱うクラス
2
+ class TokyoMetro::Static::Operator::Info
3
+
4
+ include ::TokyoMetro::ClassNameLibrary::Static::Operator
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::Operator
10
+
11
+ # @!group Constructor
12
+
13
+ # Constructor
14
+ # @param same_as [String] キー
15
+ # @param name_ja [::Array <::String>] 事業者の名称(日本語、正式名)
16
+ # @param name_ja_display [::Array <::String>] 事業者の名称(日本語、略称・表示用)
17
+ # @param name_en [String] 事業者の名称(ローマ字表記、正式名)
18
+ # @param name_en_display [String] 事業者の名称(ローマ字表記、略称・表示用)
19
+ # @param index [Integer] 事業者の番号(整列のための定義)
20
+ # @param numbering [Boolean] 駅ナンバリングを実施しているか否か
21
+ # @param railway_line_code_shape [String or nil] 路線記号の形
22
+ # @param station_code_shape [Stirng or nil] 駅番号の形
23
+ # @param color [::TokyoMetro::Static::Color] 事業者の色
24
+ def initialize( same_as , name_ja , name_ja_display , name_en , name_en_display , index , operator_code ,
25
+ numbering , railway_line_code_shape , station_code_shape , color ,
26
+ twitter_widget_id , twitter_account_name
27
+ )
28
+ @same_as = same_as
29
+ @name_ja = name_ja
30
+ @name_ja_display = name_ja_display
31
+ @name_en = name_en
32
+ @name_en_display = name_en_display
33
+ @index = index
34
+ @operator_code = operator_code
35
+ @numbering = numbering
36
+ @railway_line_code_shape = railway_line_code_shape
37
+ @station_code_shape = station_code_shape
38
+ @color = color
39
+
40
+ @twitter_widget_id = twitter_widget_id
41
+ @twitter_account_name = twitter_account_name
42
+ end
43
+
44
+ attr_reader :operator_code
45
+
46
+ attr_reader :twitter_widget_id
47
+ attr_reader :twitter_account_name
48
+
49
+ # @!group 鉄道事業者の ID、番号に関するメソッド
50
+
51
+ # 鉄道事業者の ID キー
52
+ # @return [String]
53
+ # @example
54
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as }
55
+ # =>
56
+ # odpt.Operator:TokyoMetro
57
+ # odpt.Operator:Toei
58
+ # odpt.Operator:ToeiNipporiToneri
59
+ # odpt.Operator:Toden
60
+ # odpt.Operator:JR-East
61
+ # odpt.Operator:JR-Central
62
+ # odpt.Operator:Tokyu
63
+ # odpt.Operator:YokohamaMinatomiraiRailway
64
+ # odpt.Operator:Odakyu
65
+ # odpt.Operator:HakoneTozan
66
+ # odpt.Operator:Seibu
67
+ # odpt.Operator:Tobu
68
+ # odpt.Operator:SaitamaRailway
69
+ # odpt.Operator:ToyoRapidRailway
70
+ # odpt.Operator:Keio
71
+ # odpt.Operator:Keisei
72
+ # odpt.Operator:MIR
73
+ # odpt.Operator:Yurikamome
74
+ # odpt.Operator:TWR
75
+ attr_reader :same_as
76
+
77
+ # 鉄道事業者の番号(整列のための定義)
78
+ # @return [Numeric]
79
+ # @example
80
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.index.to_s.rjust(2) }
81
+ # =>
82
+ # odpt.Operator:TokyoMetro : 1
83
+ # odpt.Operator:Toei : 2
84
+ # odpt.Operator:ToeiNipporiToneri : 3
85
+ # odpt.Operator:Toden : 4
86
+ # odpt.Operator:JR-East : 5
87
+ # odpt.Operator:JR-Central : 6
88
+ # odpt.Operator:Tokyu : 7
89
+ # odpt.Operator:YokohamaMinatomiraiRailway : 7.1
90
+ # odpt.Operator:Odakyu : 8
91
+ # odpt.Operator:HakoneTozan : 8.1
92
+ # odpt.Operator:Seibu : 9
93
+ # odpt.Operator:Tobu : 10
94
+ # odpt.Operator:SaitamaRailway : 11
95
+ # odpt.Operator:ToyoRapidRailway : 12
96
+ # odpt.Operator:Keio : 13
97
+ # odpt.Operator:Keisei : 14
98
+ # odpt.Operator:MIR : 15
99
+ # odpt.Operator:Yurikamome : 16
100
+ # odpt.Operator:TWR : 17
101
+ attr_reader :index
102
+
103
+ # @!group 鉄道事業者の名称に関するメソッド (1) - インスタンス変数 正式名称
104
+
105
+ # 鉄道事業者の事業者の名称(日本語、正式名称)
106
+ # @return [::Array <::String>]
107
+ # @note
108
+ # 配列は、「都営地下鉄」(東京都交通局)、「都電」(東京都交通局)、「東急電鉄」(東京急行電鉄)、「つくばエクスプレス」(首都圏新都市鉄道)のように、事業者名よりも用いられることの多い(と思われる)事業名や別名、公式にも使われる略称などが存在する場合に用いる。
109
+ # なお、使用頻度が多いと思われる方が配列の先頭に来るよう定義する。
110
+ # @example
111
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_ja.to_s }
112
+ # =>
113
+ # odpt.Operator:TokyoMetro : ["東京メトロ", "東京地下鉄"]
114
+ # odpt.Operator:Toei : ["都営地下鉄", "東京都交通局"]
115
+ # odpt.Operator:ToeiNipporiToneri : ["都営", "東京都交通局"]
116
+ # odpt.Operator:Toden : ["都電", "東京都交通局"]
117
+ # odpt.Operator:JR-East : ["JR東日本", "東日本旅客鉄道"]
118
+ # odpt.Operator:JR-Central : ["JR東海", "東海旅客鉄道"]
119
+ # odpt.Operator:Tokyu : ["東急電鉄", "東京急行電鉄"]
120
+ # odpt.Operator:YokohamaMinatomiraiRailway : ["横浜高速鉄道"]
121
+ # odpt.Operator:Odakyu : ["小田急電鉄"]
122
+ # odpt.Operator:HakoneTozan : ["箱根登山鉄道"]
123
+ # odpt.Operator:Seibu : ["西武鉄道"]
124
+ # odpt.Operator:Tobu : ["東武鉄道"]
125
+ # odpt.Operator:SaitamaRailway : ["埼玉高速鉄道"]
126
+ # odpt.Operator:ToyoRapidRailway : ["東葉高速鉄道"]
127
+ # odpt.Operator:Keio : ["京王電鉄"]
128
+ # odpt.Operator:Keisei : ["京成電鉄"]
129
+ # odpt.Operator:MIR : ["つくばエクスプレス", "首都圏新都市鉄道"]
130
+ # odpt.Operator:Yurikamome : ["ゆりかもめ"]
131
+ # odpt.Operator:TWR : ["りんかい線", "東京臨海高速鉄道"]
132
+ attr_reader :name_ja
133
+
134
+ # 鉄道事業者の事業者の名称(ローマ字表記、正式名称)
135
+ # @return [::Array <::String>]
136
+ # @note 配列を使用する基準については {#name_ja} を参照のこと。
137
+ # @example
138
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_en.to_s }
139
+ # =>
140
+ # odpt.Operator:TokyoMetro : ["Tokyo Metro"]
141
+ # odpt.Operator:Toei : ["Toei Subway", "Bureau of Transportation Tokyo Metropolitan Government"]
142
+ # odpt.Operator:ToeiNipporiToneri : ["Toei", "Bureau of Transportation Tokyo Metropolitan Government"]
143
+ # odpt.Operator:Toden : ["Toden", "Bureau of Transportation Tokyo Metropolitan Government"]
144
+ # odpt.Operator:JR-East : ["JR East", "East Japan Railway Company"]
145
+ # odpt.Operator:JR-Central : ["JR Central", "Central Japan Railway Company"]
146
+ # odpt.Operator:Tokyu : ["Tokyu Corporation"]
147
+ # odpt.Operator:YokohamaMinatomiraiRailway : ["Yokohama Minatomirai Railway Company"]
148
+ # odpt.Operator:Odakyu : ["Odakyu Electric Railway"]
149
+ # odpt.Operator:HakoneTozan : ["Hakone Tozan Railway"]
150
+ # odpt.Operator:Seibu : ["Seibu Railway"]
151
+ # odpt.Operator:Tobu : ["Tobu Railway"]
152
+ # odpt.Operator:SaitamaRailway : ["Saitama Railway"]
153
+ # odpt.Operator:ToyoRapidRailway : ["Toyo Rapid Railway"]
154
+ # odpt.Operator:Keio : ["Keio Corporation"]
155
+ # odpt.Operator:Keisei : ["Keisei Electric Railway"]
156
+ # odpt.Operator:MIR : ["Tsukuba Express", "MIR", "Metropolitan Intercity Railway"]
157
+ # odpt.Operator:Yurikamome : ["Yurikamome"]
158
+ # odpt.Operator:TWR : ["Rinkai Line", "TWR", "Tokyo Waterfront Area Rapid Transit"]
159
+ attr_reader :name_en
160
+
161
+ # @!group 鉄道事業者の名称に関するメソッド (2) - インスタンス変数 略称・表示用
162
+
163
+ # 鉄道事業者の事業者の名称(日本語、略称・表示用)
164
+ # @return [::String or nil]
165
+ # @note 東京メトロに対しては nil を返す。
166
+ # @note 日暮里・舎人ライナー、都電に対しては nil を返す。
167
+ # @note JR各社については「JR」のみを返す。
168
+ # @example
169
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_ja_display }
170
+ # =>
171
+ # odpt.Operator:TokyoMetro : (nil)
172
+ # odpt.Operator:Toei : 都営
173
+ # odpt.Operator:ToeiNipporiToneri : (nil)
174
+ # odpt.Operator:Toden : (nil)
175
+ # odpt.Operator:JR-East : JR
176
+ # odpt.Operator:JR-Central : JR
177
+ # odpt.Operator:Tokyu : 東急
178
+ # odpt.Operator:YokohamaMinatomiraiRailway : (nil)
179
+ # odpt.Operator:Odakyu : 小田急
180
+ # odpt.Operator:HakoneTozan : 箱根登山
181
+ # odpt.Operator:Seibu : 西武
182
+ # odpt.Operator:Tobu : 東武
183
+ # odpt.Operator:SaitamaRailway : (nil)
184
+ # odpt.Operator:ToyoRapidRailway : (nil)
185
+ # odpt.Operator:Keio : 京王
186
+ # odpt.Operator:Keisei : 京成
187
+ # odpt.Operator:MIR : (nil)
188
+ # odpt.Operator:Yurikamome : (nil)
189
+ # odpt.Operator:TWR : (nil)
190
+ attr_reader :name_ja_display
191
+
192
+ # 鉄道事業者の事業者の名称(ローマ字表記、略称・表示用)
193
+ # @return [::String or nil]
194
+ # @example
195
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_en_display }
196
+ # =>
197
+ # odpt.Operator:TokyoMetro : (nil)
198
+ # odpt.Operator:Toei : Toei
199
+ # odpt.Operator:ToeiNipporiToneri : (nil)
200
+ # odpt.Operator:Toden : (nil)
201
+ # odpt.Operator:JR-East : JR
202
+ # odpt.Operator:JR-Central : JR
203
+ # odpt.Operator:Tokyu : Tokyu
204
+ # odpt.Operator:YokohamaMinatomiraiRailway : (nil)
205
+ # odpt.Operator:Odakyu : Odakyu
206
+ # odpt.Operator:HakoneTozan : Hakone Tozan
207
+ # odpt.Operator:Seibu : Seibu
208
+ # odpt.Operator:Tobu : Tobu
209
+ # odpt.Operator:SaitamaRailway : (nil)
210
+ # odpt.Operator:ToyoRapidRailway : (nil)
211
+ # odpt.Operator:Keio : Keio
212
+ # odpt.Operator:Keisei : Keisei
213
+ # odpt.Operator:MIR : (nil)
214
+ # odpt.Operator:Yurikamome : (nil)
215
+ # odpt.Operator:TWR : (nil)
216
+ attr_reader :name_en_display
217
+
218
+ # @!group 鉄道事業者の名称に関するメソッド (3) - 標準の名称(詳細版)
219
+
220
+ # 鉄道事業者の標準の名称(日本語・詳細版)
221
+ # @return [::String]
222
+ # @example
223
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_ja_normal_precise }
224
+ # =>
225
+ # 東京メトロ
226
+ # 都営地下鉄
227
+ # 都営
228
+ # 都電
229
+ # JR東日本
230
+ # JR東海
231
+ # 東急電鉄
232
+ # 横浜高速鉄道
233
+ # 小田急電鉄
234
+ # 箱根登山鉄道
235
+ # 西武鉄道
236
+ # 東武鉄道
237
+ # 埼玉高速鉄道
238
+ # 東葉高速鉄道
239
+ # 京王電鉄
240
+ # 京成電鉄
241
+ # つくばエクスプレス
242
+ # ゆりかもめ
243
+ # りんかい線
244
+ def name_ja_normal_precise
245
+ @name_ja.first
246
+ end
247
+
248
+ # 鉄道事業者の標準の名称(ローマ字表記・詳細版)
249
+ # @return [::String]
250
+ # @example
251
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_en_normal_precise }
252
+ # =>
253
+ # Tokyo Metro
254
+ # Toei Subway
255
+ # Toei
256
+ # Toden
257
+ # JR East
258
+ # JR Central
259
+ # Tokyu Corporation
260
+ # Yokohama Minatomirai Railway Company
261
+ # Odakyu Electric Railway
262
+ # Hakone Tozan Railway
263
+ # Seibu Railway
264
+ # Tobu Railway
265
+ # Saitama Railway
266
+ # Toyo Rapid Railway
267
+ # Keio Corporation
268
+ # Keisei Electric Railway
269
+ # Tsukuba Express
270
+ # Yurikamome
271
+ # Rinkai Line
272
+ def name_en_normal_precise
273
+ @name_en.first
274
+ end
275
+
276
+ # @!group 鉄道事業者の名称に関するメソッド (4) - 標準の名称(簡易版)
277
+
278
+ # 標準の名称(日本語・簡易版)
279
+ # @return [::String]
280
+ # @note インスタンス変数 name_ja_display の値が存在する場合は、インスタンス変数 name_ja_display の値を返す。
281
+ # @note インスタンス変数 name_ja_display の値が nil の場合は、name_ja_normal_precise の値を返す。
282
+ # @example
283
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_ja_normal }
284
+ # =>
285
+ # 東京メトロ
286
+ # 都営
287
+ # 都営
288
+ # 都電
289
+ # JR
290
+ # JR
291
+ # 東急
292
+ # 横浜高速鉄道
293
+ # 小田急
294
+ # 箱根登山
295
+ # 西武
296
+ # 東武
297
+ # 埼玉高速鉄道
298
+ # 東葉高速鉄道
299
+ # 京王
300
+ # 京成
301
+ # つくばエクスプレス
302
+ # ゆりかもめ
303
+ # りんかい線
304
+ def name_ja_normal
305
+ if @name_ja_display.present?
306
+ @name_ja_display
307
+ else
308
+ self.name_ja_normal_precise
309
+ end
310
+ end
311
+
312
+ # 標準の名称(ローマ字表記)
313
+ # @return [::String]
314
+ # @note インスタンス変数 name_en_display の値が存在する場合は、インスタンス変数 name_en_display の値を返す。
315
+ # @note インスタンス変数 name_en_display の値が nil の場合は、name_en_normal_precise を返す。
316
+ # @example
317
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_en_normal }
318
+ # =>
319
+ # Tokyo Metro
320
+ # Toei
321
+ # Toei
322
+ # Toden
323
+ # JR
324
+ # JR
325
+ # Tokyu
326
+ # Yokohama Minatomirai Railway Company
327
+ # Odakyu
328
+ # Hakone Tozan
329
+ # Seibu
330
+ # Tobu
331
+ # Saitama Railway
332
+ # Toyo Rapid Railway
333
+ # Keio
334
+ # Keisei
335
+ # Tsukuba Express
336
+ # Yurikamome
337
+ # Rinkai Line
338
+ def name_en_normal
339
+ if @name_en_display.present?
340
+ @name_en_display
341
+ else
342
+ self.name_en_normal_precise
343
+ end
344
+ end
345
+
346
+ # @!group 鉄道事業者の名称に関するメソッド (5) - 乗り換え等の情報で使用
347
+
348
+ # 乗り換え等の情報で使用する名称(日本語)
349
+ # @return [::String or nil]
350
+ # @note name_ja_normal の値を返す。
351
+ # @note ただし、東京メトロ各線、日暮里・舎人ライナーについてはあえて表示をしない。
352
+ # @example
353
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_ja_for_transfer_info }
354
+ # =>
355
+ # odpt.Operator:TokyoMetro : (nil)
356
+ # odpt.Operator:Toei : 都営
357
+ # odpt.Operator:ToeiNipporiToneri : (nil)
358
+ # odpt.Operator:Toden : 都電
359
+ # odpt.Operator:JR-East : JR
360
+ # odpt.Operator:JR-Central : JR
361
+ # odpt.Operator:Tokyu : 東急
362
+ # odpt.Operator:YokohamaMinatomiraiRailway : 横浜高速鉄道
363
+ # odpt.Operator:Odakyu : 小田急
364
+ # odpt.Operator:HakoneTozan : 箱根登山
365
+ # odpt.Operator:Seibu : 西武
366
+ # odpt.Operator:Tobu : 東武
367
+ # odpt.Operator:SaitamaRailway : 埼玉高速鉄道
368
+ # odpt.Operator:ToyoRapidRailway : 東葉高速鉄道
369
+ # odpt.Operator:Keio : 京王
370
+ # odpt.Operator:Keisei : 京成
371
+ # odpt.Operator:MIR : つくばエクスプレス
372
+ # odpt.Operator:Yurikamome : ゆりかもめ
373
+ # odpt.Operator:TWR : りんかい線
374
+ def name_ja_for_transfer_info
375
+ case @same_as
376
+ when "odpt.Operator:TokyoMetro" , "odpt.Operator:ToeiNipporiToneri"
377
+ nil
378
+ else
379
+ self.name_ja_normal
380
+ end
381
+ end
382
+
383
+ # 乗り換え等の情報で使用する名称(ローマ字表記)
384
+ # @return [::String or nil]
385
+ # @note name_en_normal の値を返す。
386
+ # @note ただし、東京メトロ各線、日暮里・舎人ライナーについてはあえて表示をしない。
387
+ # @example
388
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.name_en_for_transfer_info }
389
+ # =>
390
+ # odpt.Operator:TokyoMetro : (nil)
391
+ # odpt.Operator:Toei : Toei
392
+ # odpt.Operator:ToeiNipporiToneri : (nil)
393
+ # odpt.Operator:Toden : Toden
394
+ # odpt.Operator:JR-East : JR
395
+ # odpt.Operator:JR-Central : JR
396
+ # odpt.Operator:Tokyu : Tokyu
397
+ # odpt.Operator:YokohamaMinatomiraiRailway : Yokohama Minatomirai Railway Company
398
+ # odpt.Operator:Odakyu : Odakyu
399
+ # odpt.Operator:HakoneTozan : Hakone Tozan
400
+ # odpt.Operator:Seibu : Seibu
401
+ # odpt.Operator:Tobu : Tobu
402
+ # odpt.Operator:SaitamaRailway : Saitama Railway
403
+ # odpt.Operator:ToyoRapidRailway : Toyo Rapid Railway
404
+ # odpt.Operator:Keio : Keio
405
+ # odpt.Operator:Keisei : Keisei
406
+ # odpt.Operator:MIR : Tsukuba Express
407
+ # odpt.Operator:Yurikamome : Yurikamome
408
+ # odpt.Operator:TWR : Rinkai Line
409
+ def name_en_for_transfer_info
410
+ case @same_as
411
+ when "odpt.Operator:TokyoMetro" , "odpt.Operator:ToeiNipporiToneri"
412
+ nil
413
+ else
414
+ self.name_en_normal
415
+ end
416
+ end
417
+
418
+ # @!group 鉄道事業者の名称に関するメソッド (6) - HAML
419
+
420
+ # HAML での表示に使用する名称(日本語)
421
+ # @return [::String]
422
+ # @example
423
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_ja_to_haml }
424
+ # =>
425
+ # 東京メトロ(東京地下鉄)
426
+ # 都営地下鉄(東京都交通局)
427
+ # 日暮里・舎人ライナー
428
+ # 都電(東京都交通局)
429
+ # JR東日本(東日本旅客鉄道)
430
+ # JR東海(東海旅客鉄道)
431
+ # 東急電鉄(東京急行電鉄)
432
+ # 横浜高速鉄道
433
+ # 小田急電鉄
434
+ # 箱根登山鉄道
435
+ # 西武鉄道
436
+ # 東武鉄道
437
+ # 埼玉高速鉄道
438
+ # 東葉高速鉄道
439
+ # 京王電鉄
440
+ # 京成電鉄
441
+ # つくばエクスプレス(首都圏新都市鉄道)
442
+ # ゆりかもめ
443
+ # りんかい線(東京臨海高速鉄道)
444
+ def name_ja_to_haml
445
+ case @same_as
446
+ when "odpt.Operator:ToeiNipporiToneri"
447
+ "日暮里・舎人ライナー"
448
+ else
449
+ if @name_ja.length > 1
450
+ in_parentheses = @name_ja[ 1..(-1) ].join( "/" )
451
+ "#{self.name_ja_normal_precise}(#{ in_parentheses })"
452
+ else
453
+ self.name_ja_normal_precise
454
+ end
455
+ end
456
+ end
457
+
458
+ # HAML での表示に使用する名称(ローマ字表記)
459
+ # @return [::String]
460
+ # @example
461
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.name_en_to_haml }
462
+ # =>
463
+ # Tokyo Metro
464
+ # Toei Subway (Bureau of Transportation Tokyo Metropolitan Government)
465
+ # Nippori Toneri Liner
466
+ # Toden (Bureau of Transportation Tokyo Metropolitan Government)
467
+ # JR East (East Japan Railway Company)
468
+ # JR Central (Central Japan Railway Company)
469
+ # Tokyu Corporation
470
+ # Yokohama Minatomirai Railway Company
471
+ # Odakyu Electric Railway
472
+ # Hakone Tozan Railway
473
+ # Seibu Railway
474
+ # Tobu Railway
475
+ # Saitama Railway
476
+ # Toyo Rapid Railway
477
+ # Keio Corporation
478
+ # Keisei Electric Railway
479
+ # Tsukuba Express (MIR / Metropolitan Intercity Railway)
480
+ # Yurikamome
481
+ # Rinkai Line (TWR / Tokyo Waterfront Area Rapid Transit)
482
+ def name_en_to_haml
483
+ case @same_as
484
+ when "odpt.Operator:ToeiNipporiToneri"
485
+ "Nippori Toneri Liner"
486
+ else
487
+ if @name_en.length > 1
488
+ in_parentheses = @name_en[ 1..(-1) ].join( " / " )
489
+ "#{self.name_en_normal_precise} (#{ in_parentheses })"
490
+ else
491
+ self.name_en_normal_precise
492
+ end
493
+ end
494
+ end
495
+
496
+ # @!group 鉄道事業者の駅番号・路線番号に関するメソッド
497
+
498
+ # @return [Boolean] 駅ナンバリングを実施しているか否か
499
+ # @example
500
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.numbering.to_s }
501
+ # =>
502
+ # odpt.Operator:TokyoMetro : true
503
+ # odpt.Operator:Toei : true
504
+ # odpt.Operator:ToeiNipporiToneri : true
505
+ # odpt.Operator:Toden : false
506
+ # odpt.Operator:JR-East : false
507
+ # odpt.Operator:JR-Central : false
508
+ # odpt.Operator:Tokyu : true
509
+ # odpt.Operator:YokohamaMinatomiraiRailway : true
510
+ # odpt.Operator:Odakyu : true
511
+ # odpt.Operator:HakoneTozan : true
512
+ # odpt.Operator:Seibu : true
513
+ # odpt.Operator:Tobu : true
514
+ # odpt.Operator:SaitamaRailway : false
515
+ # odpt.Operator:ToyoRapidRailway : true
516
+ # odpt.Operator:Keio : true
517
+ # odpt.Operator:Keisei : true
518
+ # odpt.Operator:MIR : true
519
+ # odpt.Operator:Yurikamome : true
520
+ # odpt.Operator:TWR : false
521
+ attr_reader :numbering
522
+
523
+ # @return [::String or nil] 路線記号の形
524
+ # @note 「縁取りあり・塗りつぶしなしの円」は "stroked_circle"、「縁取りあり・塗りつぶしなしの角丸四角形」は "stroked_rounded_square" とする。
525
+ # @note 「縁取りなし・塗りつぶしありの角丸四角形」は "filled_rounded_square" とする。
526
+ # @note 駅番号が定義されているが駅番号の図形・路線記号そのものを使用していない(数字のみ)の場合は "none" とする。
527
+ # @example
528
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.railway_line_code_shape }
529
+ # =>
530
+ # odpt.Operator:TokyoMetro : stroked_circle
531
+ # odpt.Operator:Toei : stroked_circle
532
+ # odpt.Operator:ToeiNipporiToneri : none
533
+ # odpt.Operator:Toden : (nil)
534
+ # odpt.Operator:JR-East : (nil)
535
+ # odpt.Operator:JR-Central : (nil)
536
+ # odpt.Operator:Tokyu : filled_rounded_square
537
+ # odpt.Operator:YokohamaMinatomiraiRailway : filled_rounded_square
538
+ # odpt.Operator:Odakyu : stroked_circle
539
+ # odpt.Operator:HakoneTozan : stroked_circle
540
+ # odpt.Operator:Seibu : filled_rounded_square
541
+ # odpt.Operator:Tobu : stroked_rounded_square
542
+ # odpt.Operator:SaitamaRailway : (nil)
543
+ # odpt.Operator:ToyoRapidRailway : stroked_circle
544
+ # odpt.Operator:Keio : stroked_circle
545
+ # odpt.Operator:Keisei : stroked_circle
546
+ # odpt.Operator:MIR : none
547
+ # odpt.Operator:Yurikamome : stroked_circle
548
+ # odpt.Operator:TWR : (nil)
549
+ attr_reader :railway_line_code_shape
550
+
551
+ # @return [::Stirng or nil] 駅番号の形
552
+ # @note 「縁取りあり・塗りつぶしなしの円」は "stroked_circle"、「縁取りあり・塗りつぶしなしの角丸四角形」は "stroked_rounded_square" とする。
553
+ # @note 西武鉄道については独特なデザインの角丸四角形であるため、"seibu_rounded_square" とする。
554
+ # @note 駅番号が定義されているが図形を使用していない(数字のみ)の場合は "none" とする。
555
+ # @example
556
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.same_as.ljust(32) + " : " + operator.station_code_shape }
557
+ # =>
558
+ # odpt.Operator:TokyoMetro : stroked_circle
559
+ # odpt.Operator:Toei : stroked_circle
560
+ # odpt.Operator:ToeiNipporiToneri : none
561
+ # odpt.Operator:Toden : (nil)
562
+ # odpt.Operator:JR-East : (nil)
563
+ # odpt.Operator:JR-Central : (nil)
564
+ # odpt.Operator:Tokyu : stroked_rounded_square
565
+ # odpt.Operator:YokohamaMinatomiraiRailway : stroked_rounded_square
566
+ # odpt.Operator:Odakyu : stroked_circle
567
+ # odpt.Operator:HakoneTozan : stroked_circle
568
+ # odpt.Operator:Seibu : seibu_rounded_square
569
+ # odpt.Operator:Tobu : stroked_rounded_square
570
+ # odpt.Operator:SaitamaRailway : (nil)
571
+ # odpt.Operator:ToyoRapidRailway : stroked_circle
572
+ # odpt.Operator:Keio : stroked_circle
573
+ # odpt.Operator:Keisei : stroked_circle
574
+ # odpt.Operator:MIR : none
575
+ # odpt.Operator:Yurikamome : stroked_circle
576
+ # odpt.Operator:TWR : (nil)
577
+ attr_reader :station_code_shape
578
+
579
+ # @!group 鉄道事業者の色に関するメソッド (1)
580
+
581
+ # @return [::TokyoMetro::Static::Color] 事業者の色
582
+ attr_reader :color
583
+ include ::TokyoMetro::Modules::Static::GetColorInfo::Base
584
+
585
+ # @!group 鉄道事業者の色に関するメソッド (2)
586
+
587
+ include ::TokyoMetro::Modules::Static::GetColorInfo::EachRgbElement
588
+
589
+ # @!endgroup
590
+
591
+ # CSS のクラスの名称
592
+ # @return [String]
593
+ # @example
594
+ # ::TokyoMetro::Static.operators.each_value { | operator | puts operator.css_class_name }
595
+ # =>
596
+ # tokyo_metro
597
+ # toei_subway
598
+ # toei
599
+ # toden
600
+ # jr_east
601
+ # jr_central
602
+ # tokyu
603
+ # yokohama_minatomirai
604
+ # odakyu
605
+ # hakone_tozan
606
+ # seibu
607
+ # tobu
608
+ # saitama
609
+ # toyo_rapid
610
+ # keio
611
+ # keisei
612
+ # tsukuba_exp
613
+ # yurikamome
614
+ # rinkai
615
+ def css_class_name
616
+ super( "" , :name_en_normal_precise )
617
+ end
618
+
619
+ # @!group インスタンスの基本的な情報を取得するメソッド
620
+
621
+ # インスタンスの比較に用いるメソッド
622
+ # @return [Integer]
623
+ def <=>( others )
624
+ @index <=> others.index
625
+ end
626
+
627
+ # インスタンスの情報を文字列にして返すメソッド
628
+ # @return [String]
629
+ def to_s( indent = 0 )
630
+ self.instance_variables.map { |v|
631
+ k = v.to_s.gsub( /\A\@/ , "" ).ljust(32)
632
+ val = self.instance_variable_get(v)
633
+
634
+ if val.instance_of?( ::Array )
635
+ val = val.join("/")
636
+ else
637
+ val = val.to_s
638
+ end
639
+
640
+ " " * indent + k + val
641
+ }.join( "\n" )
642
+ end
643
+
644
+ # @!endgroup
645
+
646
+ end