Abinoam Jr. wrote in post #1136762:
> CSV.filter(input,output,:col_sep => ",",:headers => true,
> :return_headers => true) do |csv|
>   csv << 'status' if csv.header_row?
>   csv['status'] = "eligible" if csv['sex'] == "F"
> end
>

Yes, it is done! Thank you very much!

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