From: sundar sundar Date: 2013-04-05T10:13:10+09:00 Subject: Re: How to quote variable of an array > This looks interesting. What actually does #EnumerateDevice return? In > that construction, you are wrapping that in an array. Is it already an > array of strings? The mistake is from my part. As you said #EnumerateDevice produces array of string. So the final output became array inside array inside array and so on. > > If instead of the above manual list, try this: > > [["/org/freedesktop/UDisks/devices/sr0", > "/org/freedesktop/UDisks/devices/sdc","/org/freedesktop/UDisks/devices/sdb", > ..., "/org/freedesktop/UDisks/devices/sda8"]] > Got it. It produces the same error listed in the first post. Corrected it. Problem is solved. -- Posted via http://www.ruby-forum.com/.