+ 1

RE: Creating and Opening Files

Effectively, can anyone answer this question? Fill in the blanks to open a file and write content to it in a code block. File.open("file.txt", "w") |x| .puts("some content") }

23rd Nov 2016, 12:25 AM
Miles Griffith
Miles Griffith - avatar
1 Antwort
+ 2
The answer is { then x
23rd Nov 2016, 12:32 AM
Miles Griffith
Miles Griffith - avatar