FYI, this line doesn't do what you think it does:

puts drawer_contents.each {|item| puts item}

What that will do is iterate through each item and output it to the 
console... but then that "puts" at the beginning of the line will output 
the return value of "each", which will be the array.
Effectively you'll output everything twice.

A simpler way to do this would be:

puts drawer_contents

-- 
Posted via http://www.ruby-forum.com/.