class Renogen::Writers::Csv

Writes out the change log in CSV format

Public Instance Methods

write!(changelog) click to toggle source
# File lib/renogen/writers/csv.rb, line 9
def write!(changelog)
  puts formatter.write_headings(changelog)
  output_files(changelog)
end

Private Instance Methods

output_files(changelog) click to toggle source
# File lib/renogen/writers/csv.rb, line 16
def output_files(changelog)
  changelog.files.each do |file|
    puts formatter.write_file(file, changelog)
  end
end