lib/parallel/table.rb
require 'parallel'
module DataAnon
module Parallel
class Table
def anonymize tables
::Parallel.each(tables) do |table|
begin
table.progress_bar_class DataAnon::Utils::ParallelProgressBar
table.process
rescue => e
logger.error "\n#{e.message} \n #{e.backtrace}"
end
end
end
end
end
end