{"image_url":null,"height":"190","provider_url":"https://hatena.blog","categories":["Ruby"],"provider_name":"Hatena Blog","type":"rich","version":"1.0","title":"Ruby \u3067\u7121\u9650\u30eb\u30fc\u30d7\u3059\u308b","author_name":"osyo-manga","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F09%2F06%2F000000\" title=\"Ruby \u3067\u7121\u9650\u30eb\u30fc\u30d7\u3059\u308b - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-09-05 00:00:00","description":"\u7121\u9650\u30eb\u30fc\u30d7\u3068\u3044\u3046\u3068 while 1 \u307f\u305f\u3044\u306a\u69cb\u6587\u3067\u884c\u3046\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001Ruby \u3067\u306f #loop \u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002 # \u30eb\u30fc\u30d7\u3057\u305f\u3044\u51e6\u7406\u3092\u30d6\u30ed\u30c3\u30af\u5185\u306b\u8a18\u8ff0\u3059\u308b # \u7d42\u4e86\u3057\u305f\u3044\u5834\u5408\u306f break \u3067\u629c\u3051\u308b loop { n = rand(0..10) puts n if n == 0 break end } \u3053\u306e loop \u3082\u30d1\u30c3\u3068\u898b\u306f\u8a00\u8a9e\u30ad\u30fc\u30ef\u30fc\u30c9\u3063\u307d\u3044\u3067\u3059\u304c\u3001Kernel.#loop \u30e1\u30bd\u30c3\u30c9\u306b\u306a\u308a\u307e\u3059\u3002","url":"https://secret-garden.hatenablog.com/entry/2015/09/06/000000","blog_url":"https://secret-garden.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/osyo-manga/","blog_title":"Secret Garden(Instrumental)"}