lib/tmp.rb in tmp-3.1.0 vs lib/tmp.rb in tmp-4.0.0
- old
+ new
@@ -1,9 +1,16 @@
#encoding: UTF-8
+module TMP
-require 'tmpdir'
+ require 'tmp/instance'
-require 'tmp/core'
-require 'tmp/sup'
+ require 'tmp/deprecated/core'
+ require 'tmp/deprecated/sup'
-require 'tmp/dsl'
-require 'tmp/init'
\ No newline at end of file
+ require 'tmp/deprecated/dsl'
+ require 'tmp/deprecated/init'
+
+ def self.new(*args)
+ Instance.new(*args)
+ end
+
+end