Class: TokyoMetro::Factory::Convert::Common::Api::MetaClass::TrainInfos::ToeiMitaLine::Info

Inherits:
Fundamental::Normal show all
Defined in:
lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line/info.rb

Instance Attribute Summary

Attributes inherited from Fundamental

#object

Instance Method Summary collapse

Methods inherited from Fundamental::Normal

process

Methods inherited from Fundamental

#initialize

Constructor Details

This class inherits a constructor from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental

Instance Method Details

#processObject



3
4
5
6
7
8
9
# File 'lib/tokyo_metro/factory/convert/common/api/meta_class/train_infos/toei_mita_line/info.rb', line 3

def process
  if toei_mita_line_train_including_on_namboku_line?
    convert_railway_line
    convert_railway_direction
    convert_train_type
  end
end