Sha256: ac3d6160726acaf9e74fe14487da2528511833e302b324fe38f7d292dcb1846e

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

class TokyoMetro::Factory::Convert::Customize::Api::StationFacility::RailwayLineNameInPlatformTransferInfos::Info < TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal

  include ::TokyoMetro::ClassNameLibrary::Api::StationFacility

  def process
    replacing_dictionary = ::TokyoMetro::Factory::Convert::Customize::Api::StationFacility::RailwayLineNameInPlatformTransferInfos.replacing_railway_lines
    ignored_dictionary = nil

    @object.platform_infos.each do | platform_info |
      if platform_info.transfer_infos.present?
        ary = self.class.platform_transfer_list_class.new

        platform_info.transfer_infos.each do | transfer_info |
          ::TokyoMetro::Factory::Convert::Customize::Api::StationFacility::RailwayLineNameInPlatformTransferInfos::Info::EachTransferInfo.process( transfer_info , ary , replacing_dictionary , ignored_dictionary , @object.same_as )
        end

        platform_info.instance_eval do
          @transfer_infos = ary
        end

      end
    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/station_facility/railway_line_name_in_platform_transfer_infos/info.rb