David A. Black wrote:
> Hi --

> (squeeze defaults to " " as its argument, so you don't have to provide
> an argument unless it's something different.)
> 
> 
> David

Is that a 1.9.1 change? In 1.8.6 String#squeeze squeezes everything if 
no arguments are given.

"abc aabbcc  ".squeeze
#=>"abc abc "

Siep
-- 
Posted via http://www.ruby-forum.com/.