Re: convert delphi codes to ruby

2012-06-06 Thread Robert Klemme
On Wed, Jun 6, 2012 at 10:57 AM, RR TT wrote: > Thanks Robert, am very new to Ruby and learning the way around to work > with it. In fact I got these delphi codes from a friend, and wanted to > try them out to see how to write them in Ruby instead. Well, of course you can translate the original f

Re: convert delphi codes to ruby

2012-06-06 Thread Robert Klemme
On Wed, Jun 6, 2012 at 9:09 AM, RR TT wrote: > Hello, I have some sample delphi codes which I want to convert to Ruby > for test purposes, anyone can help me: These are all one liners. Btw, I would assume Delphi solutions could be shorter as well. > 1. Replace single quotes with double quotes: