<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dharry</author_name>
  <author_url>https://blog.hatena.ne.jp/dharry/</author_url>
  <blog_title>harry’s memorandum</blog_title>
  <blog_url>https://dharry.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>前にid:kenkitiiさんとプログレスバーで盛り上がったので忘れないように備忘録。簡単なサンプル。 #!/usr/bin/ruby class Progress def initialize(word = &quot;.&quot;) @cnt = 0 @space = &quot; &quot; @word = word end def bar(interval = 0.05) sleep interval @cnt += 1 STDERR.print(&quot;\r#{@word*@cnt}\r&quot;) end def clear cnt = @cnt * @word.size STDERR.print(&quot;\r#{@space*cnt}…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20090604%2F1244050159&quot; title=&quot; rubyでプログレスバーの備忘録 - harry’s memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-06-04 02:29:19</published>
  <title> rubyでプログレスバーの備忘録</title>
  <type>rich</type>
  <url>https://dharry.hatenablog.com/entry/20090604/1244050159</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
