Sha256: 33baaf8eb858f997317806be01acad05920ca3ab26d77a8550380bcd860fd098

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

class TokyoMetro::Factory::BeforeSeed::Api::TrainTimetable::Info::TrainType::Pattern < TokyoMetro::Factory::BeforeSeed::Api::MetaClass::Timetables::TrainType::Pattern

  def initialize( *args , starting_station_info_id )
    super( *args )
    @starting_station_info_id = starting_station_info_id
  end

  def match?( *args , starting_station_info_id )
    super( *args ) and starting_station_is?( starting_station_info_id )
  end

  private

  def starting_station_is?( starting_station_info_id )
    @starting_station_info_id == starting_station_info_id
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/factory/before_seed/api/train_timetable/info/train_type/pattern.rb