Module: TokyoMetro::Modules::Common::Info::Decision::StartingStation

Included in:
Factory::BeforeSeed::Api::MetaClass::Timetables::TrainTypeModules::StartingStation, Api::Info::Decision::StartingStation
Defined in:
lib/tokyo_metro/modules/common/info/decision/starting_station.rb

列車の始発駅に関するメソッド (3) - 区間 collapse

列車の始発駅に関するメソッド (4) - 東急東横線・みなとみらい線 collapse

Instance Method Details

#starting_on_marunouchi_branch_line_including_invalid?Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/tokyo_metro/modules/common/info/decision/starting_station.rb', line 63

def starting_on_marunouchi_branch_line_including_invalid?
  starting?( ::TokyoMetro::Modules::Common::Dictionary::Station::StringList.between_honancho_and_nakano_sakaue_including_invalid )
end

#starting_on_tokyu_toyoko_or_at_motomachi_chukagai?Boolean

Returns:

  • (Boolean)


80
81
82
# File 'lib/tokyo_metro/modules/common/info/decision/starting_station.rb', line 80

def starting_on_tokyu_toyoko_or_at_motomachi_chukagai?
   starting_on_tokyu_toyoko_line? or starting_at_motomachi_chukagai?
end

#starting_on_tokyu_toyoko_or_minatomirai_line?Boolean

Returns:

  • (Boolean)


76
77
78
# File 'lib/tokyo_metro/modules/common/info/decision/starting_station.rb', line 76

def starting_on_tokyu_toyoko_or_minatomirai_line?
   starting_on_tokyu_toyoko_line? or starting_on_minatomirai_line?
end