<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naito-coding0322</author_name>
  <author_url>https://blog.hatena.ne.jp/naito-coding0322/</author_url>
  <blog_title> 知識の島が大きくなるにつれて、未知の海岸線も広がる</blog_title>
  <blog_url>https://naito-coding0322.hatenablog.com/</blog_url>
  <categories>
    <anon>オブジェクト指向設計</anon>
    <anon>Rails</anon>
    <anon>自作webアプリ5 神経衰弱</anon>
  </categories>
  <description>メソッドを小さく分ける 前回のコードには問題が残っています。Judgeが本来の責任に加え、処理分岐の知識を持ってしまっていることです。 これは良くないので、分岐に関する知識をGame_Masterに戻しましょう。以下のようになります。 def open(card_id) if counter.limit?(opened) board.face_down(opened) player.face_down else i = card_id * 3 if cards[i] == &quot;-&quot; board.face_up(i) player.face_up(i) end end if counter.lim…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaito-coding0322.hatenablog.com%2Fentry%2F2019%2F01%2F28%2F173757&quot; title=&quot;実践で学ぶオブジェクト指向③ メソッドの粒度 -  知識の島が大きくなるにつれて、未知の海岸線も広がる&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>2019-01-28 17:37:57</published>
  <title>実践で学ぶオブジェクト指向③ メソッドの粒度</title>
  <type>rich</type>
  <url>https://naito-coding0322.hatenablog.com/entry/2019/01/28/173757</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
