Sha256: 6d67d874ab8fbf0f0f274cd719628a236c463764ed2c1fa83488704056db2934

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

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

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

  def match?( *args , station_info_id )
    super( *args ) and station_is?( station_info_id )
  end

  private

  def station_is?( station_info_id )
    @station_info_id == 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/station_timetable/info/train_time/info/train_type/pattern.rb