From: Clifford Heath Date: 2010-09-09T07:45:26+09:00 Subject: Re: Receiving array naturally? Terry Michaels wrote: > def process_data(*strings) > ... > end > > That works with the comma-separated list, because the list gets combined > into one array ("strings"), but if I pass in an array object, that array > object is not split up, but rather becomes one (Array object) element of > the "strings" array. > > is there something else I'm overlooking? You've overlooked the simplest way: def process_data(*strings) Array(strings).each do |s| ... end end