jameswritescode/namecheap-ruby — pull request #1 by RoboticCheese (2014-04-11 20:27:20+00:00)
Title: Return the result hash from format_hosts

The `format_hosts` function was returning the return value of `each_with_index` instead of the resulting hash that the loop constructs.