Module: TokyoMetro::Refinement::Api::TrainTimetable::Info::Match

Defined in:
lib/tokyo_metro/refinement/api/train_timetable/info/match.rb

Instance Method Summary collapse

Instance Method Details

#matches_station_timetable?(train, station_timetable_info, operation_day_in_db) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/tokyo_metro/refinement/api/train_timetable/info/match.rb', line 3

def matches_station_timetable?( train , station_timetable_info , operation_day_in_db )
  matches_station_timetable_as_to_departure_time?( train , station_timetable_info ) and matches_station_timetable_as_to_fundamental_infos?( train , station_timetable_info , operation_day_in_db )
end