{"url":"https://mas-higa.hatenadiary.org/entry/20090506/1241610688","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmas-higa.hatenadiary.org%2Fentry%2F20090506%2F1241610688\" title=\"\u7b2c33\u56de Ruby/Rails \u52c9\u5f37\u4f1a - \u6f14\u7fd2 2 - \u4fee\u6b63 - \u3072\u304c\u304d\u306e\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>","author_url":"https://blog.hatena.ne.jp/mas-higa/","type":"rich","blog_title":"\u3072\u304c\u304d\u306e\u65e5\u8a18","published":"2009-05-06 20:51:28","categories":["Ruby"],"blog_url":"https://mas-higa.hatenadiary.org/","title":"\u7b2c33\u56de Ruby/Rails \u52c9\u5f37\u4f1a - \u6f14\u7fd2 2 - \u4fee\u6b63","width":"100%","image_url":null,"author_name":"mas-higa","provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","description":"\u7b2c33\u56de Ruby/Rails \u52c9\u5f37\u4f1a - \u6f14\u7fd2 2 no6v \u3055\u3093\u306b\u6307\u6458\u3055\u308c\u305f\u306e\u3067\u4fee\u6b63\u3002 --- cat.rb.org 2009-05-06 20:11:03.000000000 +0900 +++ cat.rb 2009-05-06 20:46:31.000000000 +0900 @@ -65,6 +65,7 @@ def squeeze_blank!(buf) buf.gsub!(/(\\r?\\n)\\1+/, '\\1\\1') + buf.gsub!(/\\A(\\r?\\n)\\1+/, '\\1') end def count_lines_and_print(opt, n, line) @@ -\u2026"}