Use ruby 1.9 hash syntax.
Use word arrays.
Use single quotes.
Remove trailing whitespace.
Use `do/end` for multi-line blocks.
Use Hash#key?` instead of `Hash#has_key?`.
Use spaces inside block braces.
Use spaces inside hash literals.
Fix argument alignment.