Class: DataAnonymization::RakeTasks
- Inherits:
-
Object
- Object
- DataAnonymization::RakeTasks
- Includes:
- Rake::DSL
- Defined in:
- lib/tasks/rake_tasks.rb
Instance Method Summary collapse
-
#initialize ⇒ RakeTasks
constructor
A new instance of RakeTasks.
Constructor Details
#initialize ⇒ RakeTasks
Returns a new instance of RakeTasks.
8 9 10 11 12 13 14 |
# File 'lib/tasks/rake_tasks.rb', line 8 def initialize desc 'Task to build the clean empty destination database' task :empty_dest do system 'rm sample-data/chinook-empty.sqlite' system 'sqlite3 sample-data/chinook-empty.sqlite < sample-data/chinook_schema.sql' end end |