Module: TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo

Includes:
ConvertConstantToClassMethod
Defined in:
lib/tokyo_metro/modules/common/dictionary/station/regexp_info.rb

Overview

駅名の正規表現を定数・モジュール関数として提供する名前空間

Examples:

TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.honancho_including_invalid            => /\Aodpt\.Station\:TokyoMetro\.Marunouchi(?:Branch)?\.Honancho\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.nakano_fujimicho_including_invalid    => /\Aodpt\.Station\:TokyoMetro\.Marunouchi(?:Branch)?\.NakanoFujimicho\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.nakano_shimbashi_including_invalid    => /\Aodpt\.Station\:TokyoMetro\.Marunouchi(?:Branch)?\.NakanoShimbashi\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.nakano_sakaue                         => /\Aodpt\.Station\:TokyoMetro\.Marunouchi(?:Branch)?\.NakanoSakaue\Z/

TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.ayase                                 => /\Aodpt\.Station\:TokyoMetro\.Chiyoda(?:Branch)?\.Ayase\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.kita_ayase                            => /\Aodpt\.Station\:TokyoMetro\.Chiyoda(?:Branch)?\.KitaAyase\Z/

TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.wakoshi                               => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Wakoshi\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.chikatetsu_narimasu                   => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.ChikatetsuNarimasu\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.chikatetsu_akatsuka                   => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.ChikatetsuAkatsuka\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.heiwadai                              => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Heiwadai\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.hikawadai                             => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Hikawadai\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.kotake_mukaihara                      => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.KotakeMukaihara\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.senkawa                               => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Senkawa\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.kanamecho                             => /\Aodpt\.Station\:TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Kanamecho\Z/
TokyoMetro::Modules::Common::Dictionary::Station::RegexpInfo.ikebukuro_on_yurakucho_or_fukutoshin_line => /TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Ikebukuro\Z/

丸ノ内線、丸ノ内支線 collapse

NAKANO_SAKAUE =
/\Aodpt\.Station\:TokyoMetro\.Marunouchi(?:Branch)?\.NakanoSakaue\Z/

千代田線 collapse

AYASE =
/\Aodpt\.Station\:TokyoMetro\.Chiyoda(?:Branch)?\.Ayase\Z/
KITA_AYASE =
/\Aodpt\.Station\:TokyoMetro\.Chiyoda(?:Branch)?\.KitaAyase\Z/

有楽町線・副都心線 collapse

IKEBUKURO_ON_YURAKUCHO_OR_FUKUTOSHIN_LINE =
/TokyoMetro\.(?:Yurakucho|Fukutoshin)\.Ikebukuro\Z/