Class: TokyoMetro::Factory::Convert::Customize::Api::StationTimetable::MarunouchiBranchLine::Info

Inherits:
TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal show all
Defined in:
lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line/info.rb

Instance Attribute Summary

Attributes inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental

#object

Instance Method Summary collapse

Methods inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::Fundamental::Normal

process

Methods inherited from TokyoMetro::Factory::Convert::Common::Api::MetaClass::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
# File 'lib/tokyo_metro/factory/convert/customize/api/station_timetable/marunouchi_branch_line/info.rb', line 3

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