Sha256: 00c758721f244950cd71ef26c887e5e0bdb0deaded1d7e9f3640e46783ea4887

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

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

  def process
    if to_convert?
      @object.instance_variable_set( :@railway_line , ::TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch_same_as )
    end
  end

  private

  # @note @railway_line は、方南町、中野富士見町、中野新橋、中野坂上を "odpt.Railway:TokyoMetro.MarunouchiBranch" で統一する。
  def to_convert?
    @object.same_as?( /\Aodpt\.StationTimetable\:TokyoMetro\.MarunouchiBranch/ )
  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_timetable/marunouchi_branch_line/info.rb