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


61
62
63
64
65
66
67
68
69
# File 'lib/core/database.rb', line 61

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