mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
baa9ffb822
This task prints out initializers for an application. It is useful to develop a rubygem which involves the initialization process.
6 lines
183 B
Ruby
6 lines
183 B
Ruby
desc "Prints out initializers for your application"
|
|
task initializer: :environment do
|
|
Rails.application.initializers.tsort_each do |initializer|
|
|
puts initializer.name
|
|
end
|
|
end
|