Class: TokyoMetro::Factory::BeforeSeed::Api::StationTimetable::Info::TrainTime::Info::TrainType::Pattern
- Inherits:
-
MetaClass::Timetables::TrainType::Pattern
- Object
- MetaClass::Timetables::TrainType::Pattern
- TokyoMetro::Factory::BeforeSeed::Api::StationTimetable::Info::TrainTime::Info::TrainType::Pattern
- Defined in:
- lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb
Instance Attribute Summary
Attributes inherited from MetaClass::Timetables::TrainType::Pattern
Instance Method Summary collapse
-
#initialize(*args, station_info_id) ⇒ Pattern
constructor
A new instance of Pattern.
- #match?(*args, station_info_id) ⇒ Boolean
Constructor Details
#initialize(*args, station_info_id) ⇒ Pattern
Returns a new instance of Pattern.
3 4 5 6 |
# File 'lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb', line 3 def initialize( *args , station_info_id ) super( *args ) @station_info_id = station_info_id end |
Instance Method Details
#match?(*args, station_info_id) ⇒ Boolean
8 9 10 |
# File 'lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb', line 8 def match?( *args , station_info_id ) super( *args ) and station_is?( station_info_id ) end |