{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"Ruby\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u3057\u306a\u304c\u3089\u5f85\u3064","description":"\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9\u306f\u899a\u3048\u3089\u308c\u306a\u3044\u3002 def wait sec = 60 str_len = sec.to_s.length sec.times do |i| print \"%#{str_len}d\" % (sec - i) sleep 1 print \"\\033[2K\\033[#{str_len}D\" end end \\033[2K\u3067\u3001\u30ab\u30fc\u30bd\u30eb\u306e\u884c\u3092\u30af\u30ea\u30a2\u3059\u308b\u3002\\033[%dD\u3067\u30ab\u30fc\u30bd\u30eb\u3092\u5de6\u306b\u79fb\u52d5\u3059\u308b\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2015%2F03%2F02%2F002412\" title=\"Ruby\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u3057\u306a\u304c\u3089\u5f85\u3064 - c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Programming","Ruby"],"blog_url":"https://c4se.hatenablog.com/","height":"190","author_name":"Kureduki_Maari","url":"https://c4se.hatenablog.com/entry/2015/03/02/002412","published":"2015-03-02 00:24:12","width":"100%","author_url":"https://blog.hatena.ne.jp/Kureduki_Maari/","type":"rich","image_url":null,"blog_title":"c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606","version":"1.0"}