<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomcha0079</author_name>
  <author_url>https://blog.hatena.ne.jp/tomcha0079/</author_url>
  <blog_title>Perlがくしゅう帳(Rubyも)</blog_title>
  <blog_url>https://tomcha.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>プログラムを書いて自分の思い通りに動かない時にこんな事やりません？ 変数や配列などの値が何なのか、片っ端からprintしてみる if文や条件分岐などで、どこを通っているのか調べる為に、何かしらのprint文を埋め込んで、何処を通ったか可視化して調べてみる Rubyの場合、オブジェクトが何のクラスなのか、とりあえず puts hoge.class で出力して調べてみる いわゆる、Printデバッグってやつですね。自分で作っているプログラムはそんなに大きくない事と、テスト駆動する程までもなかったり、そもそもテストの書き方もイマイチピンときていなかったり。 で、自分用にデバッグを助ける為に、ログを書…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomcha.hatenablog.jp%2Fentry%2F2015%2F07%2F10%2F223843&quot; title=&quot;デバッグ時のお助けGemを作ってRubygemsに公開してみた - Perlがくしゅう帳(Rubyも)&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>2015-07-10 22:38:43</published>
  <title>デバッグ時のお助けGemを作ってRubygemsに公開してみた</title>
  <type>rich</type>
  <url>https://tomcha.hatenablog.jp/entry/2015/07/10/223843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
