lib/usaidwat.rb in usaidwat-1.4.2 vs lib/usaidwat.rb in usaidwat-1.4.3
- old
+ new
@@ -1,5 +1,14 @@
+def require_all(path)
+ glob = File.join(File.dirname(__FILE__), path, '*.rb')
+ Dir[glob].each do |f|
+ require f
+ end
+end
+
require "usaidwat/algo"
-require "usaidwat/application"
require "usaidwat/client"
+require "usaidwat/command"
require "usaidwat/formatter"
require "usaidwat/version"
+
+require_all "usaidwat/commands"