質問編集履歴
1
タイトルの変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
動的な名前でフォルダを作成したい
|
test
CHANGED
@@ -12,6 +12,18 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
###該当のソースコード
|
16
|
+
|
17
|
+
```ここに言語を入力
|
18
|
+
|
19
|
+
title = "test"
|
20
|
+
|
21
|
+
folderPath = "./" + title + "/"
|
22
|
+
|
23
|
+
FileUtils.mkdir_p(folderPath) unless FileTest.exist?(folderPath)
|
24
|
+
|
25
|
+
```
|
26
|
+
|
15
27
|
###発生している問題・エラーメッセージ
|
16
28
|
|
17
29
|
|
@@ -23,17 +35,3 @@
|
|
23
35
|
Did you mean? folderPath
|
24
36
|
|
25
37
|
```
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
###該当のソースコード
|
30
|
-
|
31
|
-
```ここに言語を入力
|
32
|
-
|
33
|
-
title = "test"
|
34
|
-
|
35
|
-
folderPath = "./" + title + "/"
|
36
|
-
|
37
|
-
FileUtils.mkdir_p(folderPath) unless FileTest.exist?(folderPath)
|
38
|
-
|
39
|
-
```
|