def put(things=[]) things.each do |i| puts i end end put("abc") put(["abc", "def"]) both work! Yaaaay, Ruby!