No need to assign to a local variable if all you do is returning it. Just write the hash as the last expression of the method.