lib/sportdb.rb in sportdb-2.1.0 vs lib/sportdb.rb in sportdb-2.1.1
- old
+ new
@@ -17,26 +17,28 @@
require 'sportdb/cli/version' # let version always go first
require 'sportdb/cli/opts'
require 'sportdb/cli/main'
+
module SportDb
- def self.main
- Tool.new.run(ARGV)
+ def self.main( args=ARGV )
+ Tool.new.run( args )
end
end # module SportDb
#####
# auto-load/require some addons
## puts 'before auto-load (require) sportdb addons'
## puts ' before sportdb/update'
-require 'sportdb/update'
-## puts ' before sportdb/service'
+## require 'sportdb/update'
+
+puts ' before sportdb/service'
require 'sportdb/service'
-## puts 'after auto-load (require) sportdb addons'
+puts 'after auto-load (require) sportdb addons'
SportDb.main if __FILE__ == $0