From: John Dearden Date: 2007-08-25T10:47:47+09:00 Subject: Re: A simple question regarding ruby method argument Logan Capaldo wrote: > or you can return more than one value > > def munge(a, b) > return a + 1, b - 2 > end > > q = 4 > r = 9 > > q, r = munge(q, r) Ah, well, now we're on to something! It looks a bit clunky to my untrained eye, but it will definitely do the job, and honors the Ruby 'local variables are local' way. Thanks! John -- Posted via http://www.ruby-forum.com/.