"Bill Atkins" <batkins57 / gmail.com> schrieb im Newsbeitrag
news:66b7e34b0410060741772b1a10 / mail.gmail.com...
> Why does upcase! do this?

To give you a chance to determine whether the string has changed like in:

def treat(str)
  if str.upcase!
    puts "Ooops, it has changed!"
  end
end

Kind regards

    robert