lib/easy_csv.rb
# Writes the array to a .csv file.
Writes the array to a .csv file.
Writes the array to a . csv file .
def write(path, array)
    return nil if path.nil? || array.nil?
    CSV.open(path, 'a') do |file|
      file << array
    end
  end
def write ( path , array ) return nil if path . nil? || array . nil? CSV . open ( path , 'a' ) do | file | file << array end end
Writes the array to a .csv file.
Writes the array to a . csv file .
path
<not_specific>
array
<not_specific>