capture output from .each_with_index, ignore the return - Ruby : I want to capture the string output and append it to another string.
I cannot figure that out and am currently trying to append the return, which is an array, to a string, causing an error.

    2.2.3 :001 > deli_line = ["stuff", "things", "people", "places"]
    => ["stuff", "things", "people", "places"] 
    2.2.3 :002 > deli_line.each_with_index do |x, i| print "#{i+1}. #{x} " end
    1. stuff 2. things 3. people 4. places  => ["stuff", "things", "people", "places"] 

I care about capturing "1. stuff 2. things 3. people 4. places" as a string.

then I want to do

    string1 += "1. stuff 2. things 3. people 4. places"