{"published":"2007-10-20 00:00:01","categories":["RUBY"],"height":"190","version":"1.0","blog_url":"https://so-wh.at/","width":"100%","author_url":"https://blog.hatena.ne.jp/winebarrel/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20071020%2Fp3\" title=\" textwrap - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"so what","description":"http://rubyforge.org/projects/textwrap/ textwrap\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u3078\u306a\u3061\u3087\u3053Ruby\u7248\u3002 ~$ gem search -r textwrap *** REMOTE GEMS *** textwrap (0.1.0) Text wrapping and filling library like Python textwrap module. \u4f7f\u3044\u65b9 require 'rubygems' require 'textwrap' include Textwrap puts fill(<<EOS, 40) The wrap() method is just li\u2026","author_name":"winebarrel","type":"rich","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","url":"https://so-wh.at/entry/20071020/p3","title":" textwrap"}