From: Fredrik Jagenheim Date: 2004-10-06T17:41:50+09:00 Subject: Upcase array Given this array: foo = %w { FOO BAR baz biz } How do I make all the entries uppercase in a short and readable way? The (to me) obvious solution won't work: foo.map! { |x| x.upcase! } as upcase returns nil if it doesn't have anything to upcase... //F