From: Jcm Mz Date: 2009-02-15T15:58:54+09:00 Subject: Re: Code syntax comma usage Jcm Mz wrote: > What's happening here? I read it as: > set var1 to 5 and reset var2 and var3 to nil. > Is that all the comma does? The answer I was looking for was in fact the multiple assignment comma operation. The original code I was looking at was: class Timer private def dispatch now = Time.now.to_f ready, @queue = @queue.partition{|time, proc| time <= now } ready.each {|time, proc| proc.call((time)} end end p24 Practical Ruby Projects -- Posted via http://www.ruby-forum.com/.