Extract multi-line block as method.
Use Ruby 1.8 hash syntax.