I think that String.each was mixed in from Enumerable, which 1.9 no longer does.

each is not a method on String in 1.9 either, so I don't think this is a 
MacRuby problem.

You should file a bug for the problem with split().

On Nov 28, 2009, at 14:30, Robert Rice wrote:

> Hi Group:
> 
> The string.each method is undefined in MacRuby.
> I can work around it by using string.each_byte then convert the fixnum back 
> to a character using the i.chr method.
> 
> Also string.split( "" ) does not convert the string to an array as it did 
> before.
> 
> Bob Rice
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to