From: Sandro Paganotti Date: 2008-05-13T23:57:58+09:00 Subject: Re: Updating all values in a Hash I found this way h = Hash.new def h.[](val) super.downcase end h["ciao"] = "CIOOOO" puts h["ciao"] # cioooo On Tue, May 13, 2008 at 2:20 PM, Paul Dugdale wrote: > Does anyone know a good way to update all values in a hash. > > E.g. If I have a big hash with each element containing a string as a > value, how can I make each string lower-case? > -- > Posted via http://www.ruby-forum.com/. > > -- Go outside! The graphics are amazing!