lib/atome/genesis/generators/identity.rb in atome-0.5.2.7 vs lib/atome/genesis/generators/identity.rb in atome-0.5.2.8
- old
+ new
@@ -44,10 +44,10 @@
generator.build_particle(:intricate, :array)
generator.build_particle(:clones) do |clones_found|
clones_found.each_with_index do |clone_found, index|
- particles_intricated= clone_found[:intricate] ||= [:width]
+ particles_intricated= clone_found[:intricate] ||= []
clone_id="#{particles[:id]}_clone_#{index}"
original_id=atome[:id]
clone_found[:id] = clone_id
clone_found = particles.merge(clone_found)
cloned_atome=Atome.new({ clone: clone_found })