From: Peter Szinek Date: 2007-11-21T19:06:32+09:00 Subject: Re: porting java methods to ruby Hi, > public char[] getTextCharacters(int [] holderForStartAndLength) > { > } > > Could any one help me to do the same in ruby Oh sure! def getTextCharacters(holder_for_start_and_length) end > Actually the following function has a character array as a return type It doesn't matter. Ruby is a dynamic language. Please check out these slides: http://onestepback.org/articles/10things/ Cheers, Peter ___ http://www.rubyrailways.com http://scrubyt.org