<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s-uotani-zetakansu</author_name>
  <author_url>https://blog.hatena.ne.jp/s-uotani-zetakansu/</author_url>
  <blog_title>webエンジニアの日常</blog_title>
  <blog_url>https://www.uosansatox.biz/</blog_url>
  <categories>
    <anon>Effective Ruby</anon>
    <anon>ruby</anon>
  </categories>
  <description>Effective Rubyの勉強メモです。 オブジェクト指向はカプセル化によって公開するpublicメソッドと非公開なprivateメソッドを分けています。 最初の頃はすべて公開したら後で楽じゃないかって思っていたのですが、公開するものを制限することでテスト対象が減り、インターフェースをできるだけ変えないようにすることで修正範囲を狭くできるので、公開しないものはprivateにするようにしています。 さて、rubyでのprivateメソッドの定義は結構面白いです。 privateメソッドとして定義されたメソッドは明示的にレシーバを指定して呼び出すことができません。 privateメソッドとな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.uosansatox.biz%2Fentry%2F2018%2F07%2F17%2F080000&quot; title=&quot;秘密のprivateと秘伝のprotected - webエンジニアの日常&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>https://images-fe.ssl-images-amazon.com/images/I/51q5p2RhCXL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-17 08:00:00</published>
  <title>秘密のprivateと秘伝のprotected</title>
  <type>rich</type>
  <url>https://www.uosansatox.biz/entry/2018/07/17/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
