Sha256: b01bc9881f6f366b1338e7ee368c2bd8915227205ad48f3e7bcf10abcfc0384d

Contents?: true

Size: 751 Bytes

Versions: 1

Compression:

Stored size: 751 Bytes

Contents

class TokyoMetro::Factory::Convert::Customize::Api::TrainTimetable::MarunouchiBranchLine::Info < TokyoMetro::Factory::Convert::Common::Api::MetaClass::TrainInfos::MarunouchiBranchLine::Info

  def process
    if to_process?
      convert_railway_line_name
      convert_station_name
    end
  end

  private

  def convert_station_name
    [ :marunouchi_branch_line_stations , :nakano_sakaue ].each do | method |
      ::TokyoMetro::Factory::Convert::Customize::Api::TrainTimetable::ReplaceStationName::Info.process(
        @object ,
        ::TokyoMetro::Factory::Convert::Dictionary::RegexpForReplace.send( method ) ,
        ::TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch_in_system
      )
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/factory/convert/customize/api/train_timetable/marunouchi_branch_line/info.rb