<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>secondlife</author_name>
  <author_url>https://blog.hatena.ne.jp/secondlife/</author_url>
  <blog_title>2nd life (移転しました)</blog_title>
  <blog_url>https://secondlife.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl での print debug の方法の紹介がブーム(?)だったので、自分がよく行ってる Ruby での debug 方法7つについて書いてみます。 p ご存じの人も多い Kernel#p メソッド。これを使うとオブジェクトの内容を見やすい形で出力してくれます。 &gt;&gt; p ({:foobar =&gt; :baz}) {:foobar=&gt;:baz}Object#inspect を使うと、p で出力するときと同じ文字列を String として取得できます。 &gt;&gt; puts ({:foobar =&gt; :baz}).inspect {:foobar=&gt;:baz}初心者の頃この p での出力を使う方…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecondlife.hatenablog.jp%2Fentry%2F20061010%2F1160453355&quot; title=&quot;Ruby で debug する7つの方法 - 2nd life (移転しました)&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>2006-10-10 13:09:15</published>
  <title>Ruby で debug する7つの方法</title>
  <type>rich</type>
  <url>https://secondlife.hatenablog.jp/entry/20061010/1160453355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
