<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Ruby を学ぶ上で継承と mixin の概念を理解することはとても重要である。 しかし、このあたりの仕組みを学ぼうとすると、include や prepend、特異クラスや特異メソッドなどという様々な機能を理解する必要がありとても複雑である。 そこで本記事は『継承リスト』という観点から継承を mixin を学んでみたいと思う。 また、この記事は Ruby 2.4 時点での仕様になる。 継承と mixin まず、はじめに Ruby での継承と mixin の仕方をみてみよう。 Ruby では継承で既存のクラスを、mixin でモジュールをそれぞれクラスに取り込むことが出来る 継承 class …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2017%2F09%2F11%2F214756&quot; title=&quot;今更聞けない! Ruby の継承と mixin の概念を継承リストから学ぶ - Secret Garden(Instrumental)&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>2017-09-11 21:47:56</published>
  <title>今更聞けない! Ruby の継承と mixin の概念を継承リストから学ぶ</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2017/09/11/214756</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
