nod 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/Nod.rb +2 -2
- metadata +1 -1
data/lib/Nod.rb
CHANGED
@@ -7,8 +7,8 @@ require 'fileutils'
|
|
7
7
|
|
8
8
|
class Nod
|
9
9
|
|
10
|
-
def initialize()
|
11
|
-
@basedir = './tmp/git_repos'
|
10
|
+
def initialize(tmp_dir_to_write_to=nil)
|
11
|
+
@basedir = tmp_dir_to_write_to || './tmp/git_repos'
|
12
12
|
@git_cloner = GitCloner.new('./tmp/filling-in')
|
13
13
|
@gem_savvy = GemSavvy.new
|
14
14
|
end
|