Sha256: 36b050aba5c2832d7aad0d8783f07fa8ad3ea3e0f88f5d4bbcfc33bda6b172ae

Contents?: true

Size: 399 Bytes

Versions: 6

Compression:

Stored size: 399 Bytes

Contents

def file_write(data_list,log_flag,log_path)

    if log_flag==true then
        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}) "
    else
        puts "Scraping finished!! , log_flag false , chat log path is (no_path) "
    end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
video_chat_get-0.1.5 lib/file_operats/file_operat_chatdata.rb
video_chat_get-0.1.4 lib/file_operats/file_operat_chatdata.rb
video_chat_get-0.1.3 lib/file_operats/file_operat_chatdata.rb
video_chat_get-0.1.2 lib/file_operats/file_operat_chatdata.rb
video_chat_get-0.1.1 lib/file_operats/file_operat_chatdata.rb
video_chat_get-0.1.0 lib/file_operats/file_operat_chatdata.rb