Class: MuckRaker::Tasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/muck_raker/tasks.rb

Instance Method Summary collapse

Constructor Details

#initializeTasks

Returns a new instance of Tasks.



7
8
9
10
11
# File 'lib/muck_raker/tasks.rb', line 7

def initialize
  ENV['DEBUG'] = 'true' unless ENV['DEBUG'] == 'false'
  ENV['RAILS_ENV'] = 'development' unless ENV['RAILS_ENV']
  define
end