From: Martin Durai Date: 2007-11-21T19:52:53+09:00 Subject: Re: porting java methods to ruby Thank you robert, my task is to port java classes and methods to ruby just like tha above one. could you help me with this porting > > Then I would change all the if (x==..||x==...) to use a case statement. > > Btw, I would do the same to the Java code (i.e. create another class > and use "switch"). > > Cheers > > robert -- Posted via http://www.ruby-forum.com/.