lib/learn.rb in learn-co-dev-0.0.1 vs lib/learn.rb in learn-co-dev-0.0.2
- old
+ new
@@ -1,12 +1,18 @@
require 'thor'
-require 'learn/version'
-require 'learn/internet_connection'
-require 'learn/team_members/parser'
-require 'learn/cli'
-require 'learn/options_sanitizer'
-require 'learn/lab/parser'
-require 'learn/netrc_interactor'
-
module Learn
end
+module Learn
+ module Lab
+ end
+ module TeamMembers
+ end
+end
+
+Learn.autoload :VERSION, 'learn/version'
+Learn.autoload :InternetConneciton, 'learn/internet_connection'
+Learn.autoload :CLI, 'learn/cli'
+Learn.autoload :OptionsSanitizer, 'learn/options_sanitizer'
+Learn.autoload :NetrcInteractor, 'learn/netrc_interactor'
+Learn::Lab.autoload :Parser, 'learn/lab/parser'
+Learn::TeamMembers.autoload :Parser, 'learn/team_members/parser'