From: Timothy Goddard Date: 2006-03-01T20:48:36+09:00 Subject: Re: returning more than one value 1, 2 is not a valid expression using ruby syntax. Use something like the following: def my_action [1, 2] end first, last = my_action You return multiple values simply by returning an array which can then be automatically split across a series of variables using Ruby's parallel assignment.