On 4/7/07, murphy <murphy / rubychan.de> wrote: > > |It seems the most important change in 1.9, in terms of compatibility, is > > |that String isn't Enumerable anymore. It breaks a lot of scripts on my > > |system. > > > > I put "lines" before calling "each". > Maybe I didn't explain my problem well enough, sorry. If I do this, my > script can run with Ruby 1.9, sure. > > But Ruby 1.8 says: > > undefined method `lines' for "Foo\nbar":String (NoMethodError) > > so it won't run under both versions. > > I feel that many people (me, for a start) will want to make their > libraries available for both versions in the next 2 or 3 years, if not > longer. +1 on that. Not leaving each in String, which leads to removing the include of Enumerable seems unwise to me. Especially without a period of deprecation. What does it hurt? Why introduce unecessary incompatibilities? -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/