<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>irb で変数を見るのに便利なメソッド。「 j 」「jj」 json 形式で変数を見れたら、便利なのですが。いつも JSON.dump とか不便だわと思ってたら。。。 json をrequire すると main オブジェクトに #j , #jj というプライベートなメソッドが増えていた。 self.private_methods.grep /^j$/ #=&gt; [] require 'json' self.private_methods.grep /^j$/ #=&gt; [:j] irb が実行されているmain 空間にロードされていて、当然のことながらmain はKernel。なので、Kerne…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2015%2F07%2F07%2F005304&quot; title=&quot;rubyのirb(pry)で変数をjson/yamlで見るのに便利な短縮メソッド jj/j/y - それマグで！&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/takuya_1st/20150707/20150707005152.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-07-07 00:53:04</published>
  <title>rubyのirb(pry)で変数をjson/yamlで見るのに便利な短縮メソッド jj/j/y</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2015/07/07/005304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
