Change names.each {|n|private n} -> private(*names)

* Hat tip to HenrikJoreteg for pointing it out