Sha256: fcedb8ff5886ec3b664029087b3e337f6ef6519ccb0b7e6b9d44721c85ace30b
Contents?: true
Size: 398 Bytes
Versions: 16
Compression:
Stored size: 398 Bytes
Contents
def file_write(data_list,log_flag,log_path) if log_flag==false puts "Scraping finished!! , log_flag false , chat log path is (no_path) " return end File.open(log_path,"w") do |file| data_list.each do |chat| file.puts chat end end puts "Scraping finished!! , log_flag true , chat log path is (#{log_path}) " return end
Version data entries
16 entries across 16 versions & 1 rubygems