{"url":"https://u2uni.hatenadiary.org/entry/20080605/1212632794","height":"190","author_name":"u2uni","categories":["IT"],"image_url":null,"version":"1.0","blog_title":"u2uni\uff08\u3046\u306b\u3046\u306b\uff09\u306e\u65e5\u8a18","provider_name":"Hatena Blog","published":"2008-06-05 11:26:34","title":"Ruby\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u529b\u3059\u308b\u30fb\u30fb\u30fb","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fu2uni.hatenadiary.org%2Fentry%2F20080605%2F1212632794\" title=\"Ruby\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u529b\u3059\u308b\u30fb\u30fb\u30fb - u2uni\uff08\u3046\u306b\u3046\u306b\uff09\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>","width":"100%","blog_url":"https://u2uni.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/u2uni/","description":"\u5f15\u6570\u3067\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u753b\u9762\u3078\u51fa\u529b\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Ruby\u3067\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u4f5c\u3063\u305f\u3068\u8a00\u3063\u3066\u3082\u3001\u65e2\u51fa\u904e\u304e\u306a\u3093\u3067\u3059\u3051\u3069\u306d\u3002textoutput.rb \u306e\u5185\u5bb9 # \u5f15\u6570\u3067\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u529b\u3001\u305d\u306e\u307e\u307e\u753b\u9762\u3078\u51fa\u529b\u3059\u308b while tline = ARGF.gets puts tline end \u305f\u3063\u305f\u3053\u308c\u3060\u3051\uff08\u30fb\u2200\u30fb\uff09\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\uff08Ruby\u306e\u6a5f\u80fd\uff09\u3067\u9762\u767d\u3044\u306e\u304c\u3001\u5f15\u6570\u306b\u6307\u5b9a\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6570\u3092\u5897\u3084\u3057\u3066\u3082\u3001\u554f\u984c\u306a\u304f\u52d5\u304f\u3053\u3068\u3002 \u3069\u3046\u3044\u3046\u4e8b\u304b\u3068\u3044\u3046\u3068 src1.txt\u306e\u5185\u5bb9 hogehogesrc2.txt\u306e\u5185\u5bb9 fugafuga\u5b9f\u884c\u3068\u305d\u306e\u7d50\u679c C:\\Ruby\\src>ruby te\u2026","type":"rich","provider_url":"https://hatena.blog"}