lib/poolparty.rb in auser-poolparty-0.2.45 vs lib/poolparty.rb in auser-poolparty-0.2.46
- old
+ new
@@ -21,15 +21,22 @@
require file
end
end
Kernel.load_p File.dirname(__FILE__) + "/poolparty/pool"
+Logging.init :debug, :info, :warn, :error, :fatal
module PoolParty
include FileWriter
def logger
@logger ||= make_new_logger
+ end
+
+ class PoolParty
+ def initialize(spec)
+ Script.inflate(spec) if spec
+ end
end
private
#:nodoc:#
def make_new_logger
\ No newline at end of file