We currently are Ruby 1.8.6 compatible and 1.8.6 does not support each_char. jruby --1.9 does.
-Tom On Thu, Jan 15, 2009 at 9:58 AM, Eric Armstrong <[email protected]> wrote: > 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 > > > -- Blog: http://www.bloglines.com/blog/ThomasEEnebo Email: [email protected] , [email protected] --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
