Sha256: 2174788db8d52b7f2360a6e9e6be9d5d4f9aad0f825e0fb7632e7995ac3372b1
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
class TokyoMetro::Factory::Generate::Static::MetaClass::Group::HashInHash::EachFile < TokyoMetro::Factory::Generate::Static::MetaClass::Group::MultipleYamls::EachFile private def generating_procedure( d_yaml ) raise "Error" unless d_yaml.instance_of?( ::Hash ) h_new = self.class.hash_class_for_this_factory.new d_yaml.each_with_index do | ( key , value ) , i | h_new[ key ] = self.class.info_class.generate_from_hash( key , value , i ) end h_new end def self.hash_class_for_this_factory subhash_class end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/factory/generate/static/meta_class/group/hash_in_hash/each_file.rb |