<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mitsugi-bb</author_name>
  <author_url>https://blog.hatena.ne.jp/mitsugi-bb/</author_url>
  <blog_title>developer's diary</blog_title>
  <blog_url>https://developer.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>ruby</anon>
  </categories>
  <description>考え方が間違っているかもしれないが。 class DisplayOutPutOn def out_put puts &quot;DisplayOutPutOn&quot; end end class DisplayOutPutOff def out_put puts &quot;DisplayOutPutOff&quot; end end require 'singleton' class Display include Singleton def initialize(displayOnOff = true) #displayOnOffがtrueかfalseで、振る舞いを変えたい。 if displayOnOff @Display…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdeveloper.hateblo.jp%2Fentry%2F20080514%2F1210784262&quot; title=&quot;Singleton パターンで、initializeを利用したい。 - developer&amp;#39;s diary&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-05-14 01:57:42</published>
  <title>Singleton パターンで、initializeを利用したい。</title>
  <type>rich</type>
  <url>https://developer.hateblo.jp/entry/20080514/1210784262</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
