Module: TokyoMetro::Modules::Common::Info::Decision::ToeiMitaLine

Included in:
Api::TrainLocation::Info, Api::TrainTimetable::Info, Factory::BeforeSeed::Api::MetaClass::Timetables::TrainType
Defined in:
lib/tokyo_metro/modules/common/info/decision/toei_mita_line.rb

Instance Method Summary collapse

Instance Method Details

#toei_mita_line_train_including_on_namboku_line?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/tokyo_metro/modules/common/info/decision/toei_mita_line.rb', line 3

def toei_mita_line_train_including_on_namboku_line?
  ( toei_mita_line? or namboku_line? ) and ( starting_on_toei_mita_line? or terminating_on_toei_mita_line? )
end