You shouldn't need `unless names.is_a?(Array)` as Array() just calls `names.to_ary` which returns itself. http://ruby-doc.org/core-1.8.7/Kernel.html