Permalink
Browse files

Explicitly call categorization for clarity.

  • Loading branch information...
1 parent d43e6be commit a7134415468612fa658137fc8a2b920904dfe1f6 @louismullie committed Oct 21, 2012
Showing with 9 additions and 6 deletions.
  1. +9 −6 lib/treat/modules.rb
View
@@ -1,13 +1,13 @@
module Treat
+ # Contains common utility/helper functions.
+ module Helpers; include Autoload; end
+
# Contains all the configuration options.
module Config; include Autoload; end
- # Load all the configuration options.
- Treat::Config.configure!
-
- # Contains common utility/helper functions.
- module Helpers; include Autoload; end
+ # Import all the configuration options.
+ Treat::Config.import!
# Contains classes to load external libraries.
module Loaders; include Autoload; end
@@ -20,7 +20,10 @@ module Entities; include Autoload; end
# Contains all the worker categories.
module Workers; include Autoload; end
-
+
+ # Make all the worker categories.
+ Treat::Workers.categorize!
+
# Installs builders on core Ruby objects.
module Proxies; include Autoload; end

0 comments on commit a713441

Please sign in to comment.