From: Jari Williamsson Date: 2007-11-21T22:48:28+09:00 Subject: Re: porting java methods to ruby Peter Hickman wrote: > The simplest conversion is this: > [...] > holderForStartAndLength[0] = @pcStart > holderForStartAndLength[1] = @pcEnd - @pcStart I would probably write something like: holder_for_start_and_length = [@pcStart, @pcEnd - @pcStart] Best regards, Jari Williamsson