Class: Webpacker::RakeTasks

Inherits:
Object
  • Object
show all
Defined in:
lib/webpacker/rake_tasks.rb

Class Method Summary collapse

Class Method Details

.load!Object



2
3
4
5
# File 'lib/webpacker/rake_tasks.rb', line 2

def self.load!
  tasks_path = File.expand_path("../tasks", __dir__)
  Dir.glob("#{tasks_path}/**/*.rake").sort.each { |ext| load ext }
end