Method: Fishplate.load_tasks
- Defined in:
- lib/fishplate.rb
.load_tasks ⇒ Object
19 20 21 22 23 |
# File 'lib/fishplate.rb', line 19 def load_tasks Kernel.load 'active_record/railties/databases.rake' Kernel.load File.('fishplate/tasks.rake', __dir__) A9n.root.join('lib/tasks').glob('**/*.rake').sort.each { |f| Kernel.load f } end |