Module: TokyoMetro::Factory::BeforeSeed::Api::MetaClass::Timetables::TrainTypeModules::TerminalStation

Includes:
Modules::Common::Info::Decision::TerminalStation
Included in:
TokyoMetro::Factory::BeforeSeed::Api::MetaClass::Timetables::TrainType
Defined in:
lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/terminal_station.rb

Instance Method Summary collapse

Methods included from Modules::Common::Info::Decision::TerminalStation

#terminating_on_marunouchi_branch_line_including_invalid?, #terminating_on_tokyu_toyoko_or_at_motomachi_chukagai?, #terminating_on_tokyu_toyoko_or_minatomirai_line?

Instance Method Details

#bound_for?(*list_of_train_terminal_station, compared: @terminal_station_info_in_db.same_as) ⇒ Boolean Also known as: is_bound_for?, is_terminating?, terminate?

Returns:

  • (Boolean)


5
6
7
# File 'lib/tokyo_metro/factory/before_seed/api/meta_class/timetables/train_type_modules/terminal_station.rb', line 5

def bound_for?( *list_of_train_terminal_station , compared: @terminal_station_info_in_db.same_as )
  super( list_of_train_terminal_station , compared )
end