OK, we have attr_accessor :servers, which is apparently a hash.
Still, WTF does the code mean?!
Are you iterating over the keys only (what are the values for then?)
and assigning the item to the same variable as the container?

> > +      xml.servers({:type => "array"}) do
> > +         servers.each do |@servers, val|
> > +               xml.tag!(:nameserver, servers)
> > +         end
> > +      end
> >      end
> >    end
> >  
-- 
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to