lib/omnicat.rb in omnicat-0.1.3 vs lib/omnicat.rb in omnicat-0.2.0
- old
+ new
@@ -1,7 +1,22 @@
require File.dirname(__FILE__) + '/omnicat/version'
-require File.dirname(__FILE__) + '/omnicat/string'
+require File.dirname(__FILE__) + '/omnicat/configuration'
require File.dirname(__FILE__) + '/omnicat/array'
require File.dirname(__FILE__) + '/omnicat/hash'
require File.dirname(__FILE__) + '/omnicat/base'
+require File.dirname(__FILE__) + '/omnicat/doc'
require File.dirname(__FILE__) + '/omnicat/result'
-require File.dirname(__FILE__) + '/omnicat/bayes'
+require File.dirname(__FILE__) + '/omnicat/classifier'
+
+module OmniCat
+ def self.config
+ OmniCat::Configuration.instance
+ end
+
+ def self.configure
+ yield config
+ end
+
+ def self.logger
+ config.logger
+ end
+end
\ No newline at end of file