Created
February 8, 2015 01:33
-
-
Save sei0o/af5ac6da4f01f8a4ab34 to your computer and use it in GitHub Desktop.
ファイル生成&書き込み
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str = "hogehoge" | |
File.open "puyo.txt", "w" do |f| | |
f.write str | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment