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/.