Sha256: 96ce1cb5d33fc324a60f188dde3841eb7b9ade476ee51ad4817f5e4405b5ee5c

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

class TokyoMetro::Factory::Convert::Common::Api::Station::StationCode < TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal

  def initialize( object , station_same_as , station_code_new )
    super( object )
    @station_same_as = station_same_as
    @station_code_new = station_code_new
  end

  def process
    if object.same_as == @station_same_as
      object.instance_variable_set( :@station_code , "m06" )
    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/common/api/station/station_code.rb