RUBY ENGER_WITH_OBJECT
%w(foo bar).each_with_object({}) { |str, hsh| hsh[str] = str.upcase }
Dr. Phil
%w(foo bar).each_with_object({}) { |str, hsh| hsh[str] = str.upcase }