+1, but isn't:
names = hash[:name].split(",", -1)
hash[:name] = names.shift
hash[:alias] = names
just a verbose way of saying:
hash[:name],*hash[:alias] = hash[:name].split(",", -1)
-- Markus
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.