{"blog_title":"\u660e\u65e5\u306e\u9375","blog_url":"https://tomorrowkey.hatenablog.jp/","image_url":null,"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomorrowkey.hatenablog.jp%2Fentry%2F2015%2F11%2F11%2F200918\" title=\"Array#shuffle\u3067\u540c\u3058\u7d50\u679c\u3092\u5f97\u308b - \u660e\u65e5\u306e\u9375\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","title":"Array#shuffle\u3067\u540c\u3058\u7d50\u679c\u3092\u5f97\u308b","type":"rich","categories":["Rails","Ruby"],"provider_name":"Hatena Blog","width":"100%","published":"2015-11-11 20:09:18","author_url":"https://blog.hatena.ne.jp/tomorrowkey/","url":"https://tomorrowkey.hatenablog.jp/entry/2015/11/11/200918","description":"shuffle\u306e\u5f15\u6570\u306b\u540c\u3058Random\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6e21\u305b\u3070\u4f55\u5ea6\u30b7\u30e3\u30c3\u30d5\u30eb\u3057\u3066\u3082\u540c\u3058\u7d50\u679c\u306b\u306a\u308b $ pry [1] pry(main)> Array(1...10).shuffle(random: Random.new(473)) => [6, 4, 9, 5, 8, 3, 2, 1, 7] [2] pry(main)> Array(1...10).shuffle(random: Random.new(473)) => [6, 4, 9, 5, 8, 3, 2, 1, 7] [3] pry(main)> Array(1...10).shuffle(random: Random.new(473))\u2026","author_name":"tomorrowkey","version":"1.0"}