Hi,

What does the 'w' in the "CSV.open" part of the below code do?

CSV.open('text2.txt','w') do |csv|
  people.each do |person|
    csv <<person

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