Class: Comatose::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/comatose/engine.rb

Class Method Summary collapse

Class Method Details

.load_tasksObject



15
16
17
18
19
20
21
22
23
# File 'lib/comatose/engine.rb', line 15

def load_tasks
  begin
    require 'comatose/tasks/admin'
    require 'comatose/tasks/setup'
    require 'comatose/tasks/data'
  rescue LoadError
    $: << File.join(File.dirname(__FILE__), '..', 'lib')
  end
end