rubyでランダムな文字列を生成したい Posted Feb 13, 2020 By rengotaku 1 min read (0...8).map { (65 + rand(26)).chr }.join # OYOTTDME How to generate a random string in Ruby - Stack Overflow backend ruby This post is licensed under CC BY 4.0 by the author. Share