<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koumiya</author_name>
  <author_url>https://blog.hatena.ne.jp/koumiya/</author_url>
  <blog_title>koumiyaの日記</blog_title>
  <blog_url>https://koumiya.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>これだめ！ class Foo def aaa self.bbb end private def bbb puts &quot;bbb&quot; end end Foo.new.aaa # =&gt; エラーだよ。 privateメソッドはselfレシーバを省略して呼び出す。 class Foo def aaa bbb end private def bbb puts &quot;bbb&quot; end end Foo.new.aaa # =&gt; &quot;bbb&quot; でもこれって、代入の際にselfレシーバを省略すると、ローカル変数として扱われるって規約とぶつかるんじゃないの？ kelkronsoさんが取り上げてた⇒http://d.hate…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoumiya.hatenadiary.org%2Fentry%2F20080818%2F1219070256&quot; title=&quot; Rubyのprivateメソッドはselfレシーバを指定して呼び出せない - koumiyaの日記&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>2008-08-18 23:37:36</published>
  <title> Rubyのprivateメソッドはselfレシーバを指定して呼び出せない</title>
  <type>rich</type>
  <url>https://koumiya.hatenadiary.org/entry/20080818/1219070256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
