<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oh240</author_name>
  <author_url>https://blog.hatena.ne.jp/oh240/</author_url>
  <blog_title>Webuilder240's Blog</blog_title>
  <blog_url>https://webuilder240.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>そもそもRubyにInterfaceが必要とか、必要じゃないとかの議論は置いておいて、 無いのであれば、類似したことをやりたい場合はどうすればいいのかが気になって調べてた。 1. まずは簡単にやってみる module TestInterface def method1 raise NotImplementError end end class SomeClass include TestInterface def method1 puts &quot;hoge&quot; end end SomeClass.new.method1 実装はココから拝借。 blog.wktk.co.jp 愚直にmoduleで書いたほ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwebuilder240.hatenablog.com%2Fentry%2F2017%2F10%2F14%2F205015&quot; title=&quot;RubyでInterface - Webuilder240&amp;#39;s Blog&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-10-14 20:50:15</published>
  <title>RubyでInterface</title>
  <type>rich</type>
  <url>https://webuilder240.hatenablog.com/entry/2017/10/14/205015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
