lib/atome/genesis/genesis.rb in atome-0.5.7.4.8 vs lib/atome/genesis/genesis.rb in atome-0.5.7.5.1

- old
+ new

@@ -131,14 +131,14 @@ if Universe.applicable_atomes.include?(element) # we do the same for apply to be able to retrieve 'color' and other atome that apply instead of being fasten @apply.each do |fasten_atome| collected_atomes << fasten_atome if grab(fasten_atome).type.to_sym == element.to_sym end - else + elsif fasten fasten.each do |fasten_atome| - collected_atomes << fasten_atome if grab(fasten_atome).type.to_sym == element.to_sym + child_found=grab(fasten_atome) + collected_atomes << fasten_atome if child_found.type.to_sym == element.to_sym end - end # TODO/ FIXME : potential problem with group here" collected_atomes end end