# File lib/seed_dump/dump_methods.rb, line 5 def dump(records, options = {}) return nil if records.count == 0 io = open_io(options) write_records_to_io(records, io, options) ensure io.close if io.present? end