From: "Michal M." Date: 2012-04-04T16:34:40+09:00 Subject: Re: fibonacci and defining variables Bartosz Dziewoński wrote in post #1054873: > W dniu 3 kwietnia 2012 21:24 użytkownik Christopher D. > napisał: >> Cool, that makes sense, is there any way to do it sequentially without >> it being on the same line? > tmp = p > p = i+p > i = tmp > You may omit the temporary variable, although with less readable code: p = p + i i = p - i -- Posted via http://www.ruby-forum.com/.