Sha256: 639815ce3b54bae9094aa448f8fe5fc4a0c9f5e81fb3a4aec7f8254cec288279

Contents?: true

Size: 554 Bytes

Versions: 1

Compression:

Stored size: 554 Bytes

Contents

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

  def process
    if to_process?
      convert_railway_line_name
    end
  end

  private

  def to_process?
    @object.operated_only_on_marunouchi_branch_line_including_invalid?
  end

  def convert_railway_line_name
    @object.instance_variable_set( :@railway_line , ::TokyoMetro::Modules::Common::Dictionary::RailwayLine::StringInfo.marunouchi_branch_same_as  )
  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/meta_class/train_infos/marunouchi_branch_line/info.rb