Class: TokyoMetro::Factory::Convert::Common::Api::MetaClass::Converter
- Inherits:
-
Object
- Object
- TokyoMetro::Factory::Convert::Common::Api::MetaClass::Converter
- Defined in:
- lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb
Direct Known Subclasses
StationFacility::Platform, StationFacility::Platform::Transfer
Defined Under Namespace
Classes: InfoForConversion
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.process ⇒ Object
11 12 13 |
# File 'lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb', line 11 def self.process raise "The class method \'#{ __method __ }\' is not defined in \'#{ self }\'." end |
Instance Method Details
#process ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb', line 3 def process if to_process? infos_for_conversion.each do | info_for_conversion | info_for_conversion.process.call( @info ) end end end |