Class: Rake::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record_tasks/tasks.rb

Overview

This is needed to overwrite the already-existing Rake task “load_config”

Instance Method Summary collapse

Instance Method Details

#overwrite(&block) ⇒ Object



9
10
11
12
# File 'lib/active_record_tasks/tasks.rb', line 9

def overwrite(&block)
  @actions.clear
  enhance(&block)
end