Sha256: cc0fc9aea6f757166c8179a1a64bb0e94c9999ded762654d4fbfa997c036769c

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

class TokyoMetro::Factory::Convert::Common::Api::StationTimetable::ConvertTerminalStations::Info < TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal

  def initialize( object , factory_name_for_converting_train_times )
    super( object )
    @factory_name_for_converting_train_times = factory_name_for_converting_train_times
  end

  def process
    if to_process?
      @object.timetables.each do | timetable |
        timetable.each do | train_time |
          @factory_name_for_converting_train_times.process( train_time )
        end
      end
    end
  end

  private

  def to_process?
    true
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/factory/convert/common/api/station_timetable/convert_terminal_stations/info.rb