From: "Bartosz DziewoƄski" Date: 2011-09-14T00:28:54+09:00 Subject: Re: Using a loop to run similar commands Yes, use arrays. ts = [ ... ] # however you create these objects creates = ts.map{|t| agent.get(t) } -- Matma Rex