class TokyoMetro::Factory::BeforeSeed::Api::StationTimetable::Info::TrainTime::Info::TrainType::Pattern
Public Class Methods
new( *args , station_info_id )
click to toggle source
Calls superclass method
TokyoMetro::Factory::BeforeSeed::Api::MetaClass::Timetables::TrainType::Pattern::new
# 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
Public Instance Methods
match?( *args , station_info_id )
click to toggle source
Calls superclass method
TokyoMetro::Factory::BeforeSeed::Api::MetaClass::Timetables::TrainType::Pattern#match?
# 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
Private Instance Methods
station_is?( station_info_id )
click to toggle source
# File lib/tokyo_metro/factory/before_seed/api/station_timetable/info/train_time/info/train_type/pattern.rb, line 14 def station_is?( station_info_id ) @station_info_id == station_info_id end