{"blog_title":"gan2 \u306e Ruby \u52c9\u5f37\u65e5\u8a18","url":"https://gan2-2.hatenadiary.org/entry/20070601/1180680977","categories":["Ruby"],"published":"2007-06-01 15:56:17","author_name":"gan2","image_url":null,"author_url":"https://blog.hatena.ne.jp/gan2/","height":"190","width":"100%","title":" Array#join(\"\\n\")\u306e\u5225\u8868\u8a18","version":"1.0","description":"Array#join(sep)\u3092\u4f7f\u3046\u3068\u3001 \u914d\u5217\u306e\u5404\u8981\u7d20\u9593\u306bsep\u3092\u631f\u3080\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \"\\n\"\u3092\u631f\u307f\u305f\u3044\u3068\u304d\u306fArray#join(\"\\n\")\u3068\u3044\u3046\u5177\u5408\u306b\u3002 \u3067\u3001join(\"\\n\")\u306e\u5225\u8868\u8a18\u3068\u3057\u3066\u4ee5\u4e0b\u306e2\u3064\u304c\u3042\u308b\u3002 *(\"\\n\") *($/) \u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5b9f\u9a13\u3057\u3066\u78ba\u304b\u3081\u3066\u307f\u308b\u3002 ary = %w(\u5317\u6d77\u9053 \u9752\u68ee \u79cb\u7530 \u5ca9\u624b) p ary.join(\"\\n\") p ary.*(\"\\n\") p ary.*($/) 3\u3064\u3068\u3082\u8fd4\u3059\u5024\u306f\u540c\u3058\u3002 \u30b4\u30eb\u30d5\u30c6\u30af\u30cb\u30c3\u30af\u3063\u3066\u611f\u3058\u3002 \"\u5317\u6d77\u9053\\n\u9752\u68ee\\n\u79cb\u7530\\n\u5ca9\u624b\"","blog_url":"https://gan2-2.hatenadiary.org/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgan2-2.hatenadiary.org%2Fentry%2F20070601%2F1180680977\" title=\" Array#join(&quot;\\n&quot;)\u306e\u5225\u8868\u8a18 - gan2 \u306e Ruby \u52c9\u5f37\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich"}