Sha256: fb048acb79ac3765b762b955cb7d1147d1d6aba3020d69338993d7672ae7c702

Contents?: true

Size: 946 Bytes

Versions: 1

Compression:

Stored size: 946 Bytes

Contents

class TokyoMetro::Factory::Convert::Patch::Api::StationFacility::EscalatorDirectionAtOtemachi::Generate::Info::BarrierFree::Facility::Escalator < TokyoMetro::Factory::Convert::Common::Api::StationFacility::BarrierFree::Facility::Escalator

  CHIYODA_OTEMACHI_OUTSIDE_ESCALATOR_1 = "odpt.StationFacility:TokyoMetro.Chiyoda.Otemachi.Outside.Escalator.1"

  FACILITY_NAMES = [
    CHIYODA_OTEMACHI_OUTSIDE_ESCALATOR_1
  ]

  include ::TokyoMetro::Modules::Common::ConvertConstantToClassMethod

  private

  def to_process?
    FACILITY_NAMES.include?( same_as )
  end

  def replace_infos
    if same_as == CHIYODA_OTEMACHI_OUTSIDE_ESCALATOR_1
      module_name = ::TokyoMetro::Factory::Convert::Patch::Api::StationFacility::EscalatorDirectionAtOtemachi::Generate::Info::BarrierFree::Facility::Escalator::ServiceDetail::ChiyodaOtemachiOutsideEscalator1
      @object = service_details_after_prepending_patch_module( module_name )
    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/patch/api/station_facility/escalator_direction_at_otemachi/generate/info/barrier_free/facility/escalator.rb