Class: DataAnon::Core::Sequential

Inherits:
Object
  • Object
show all
Defined in:
lib/core/database.rb

Instance Method Summary collapse

Instance Method Details

#anonymize(tables) ⇒ Object



65
66
67
68
69
70
71
72
73
# File 'lib/core/database.rb', line 65

def anonymize tables
  tables.each do |table|
    begin
      table.process
    rescue => e
      logger.error "\n#{e.message} \n #{e.backtrace}"
    end
  end
end