I'm using the JRuby built-in in NB 6.5
The docs say that String has an each_char() method:
http://www.ruby-doc.org/core/classes/String.html#M000877
But this code:
@value.each_char() { |c| ... }
Produces this message:
undefined method `each_char' for "abc":String
--
Eric Armstrong, Document Systems Architect, Sun Microsystems
http://blogs.sun.com/coolstuff
http://www.artima.com/weblogs/index.jsp?blogger=cooltools
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email