testdata 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/testdata.rb +1 -1
- metadata +1 -1
data/lib/testdata.rb
CHANGED
@@ -124,7 +124,7 @@ class Testdata
|
|
124
124
|
s = Rscript.new.read script_file.split(/\s/)
|
125
125
|
else
|
126
126
|
|
127
|
-
file_path = File.exists?(script_file) ?
|
127
|
+
file_path = File.exists?(script_file) ? script_file : @filepath + '/' + script_file
|
128
128
|
s = File.open(file_path,'r').read
|
129
129
|
end
|
130
130
|
|