From: Brian Candler Date: 2009-08-04T17:11:57+09:00 Subject: Re: Java code to Ruby code?? Kostas Lps wrote: > I am a little confused about how to write this to ruby. > Any help would be useful! Read this first: http://www.catb.org/~esr/faqs/smart-questions.html#intro Basically what you need to do is: 1. Start writing some Ruby code 2. Keep going until you get stuck - e.g. you don't know how to do step X, or your program crashes and you don't understand why 3. Use google to solve your problem 4. If you cannot find the solution using google, post the relevant parts of your code so far, preferably in the form of a short standalone program which is runnable by someone else which demonstrates the problem 5. Ask a specific question about that code Regards, Brian. -- Posted via http://www.ruby-forum.com/.