Class: TokyoMetro::Factory::Convert::Common::Api::MetaClass::Converter

Inherits:
Object
  • Object
show all
Defined in:
lib/tokyo_metro/factory/convert/common/api/meta_class/converter.rb

Defined Under Namespace

Classes: InfoForConversion

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.processObject



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

#processObject



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