<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tbpg</author_name>
  <author_url>https://blog.hatena.ne.jp/tbpg/</author_url>
  <blog_title>Tbpgr Blog</blog_title>
  <blog_url>https://tbpgr.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>概要 Module#class_variable_defined?(name) -&gt; bool 詳細 name で与えられた名前のクラス変数が存在する場合 true を 返却。 サンプルコード require 'tbpgr_utils' module Hogeable @@hoge = 1 end class Hoge @@hoge = 2 end class Hige include Hogeable end class Hage end bulk_puts_eval binding, &lt;&lt;-EOS Hoge.class_variable_defined? :@@hoge Hige.clas…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20140711%2F1405082021&quot; title=&quot;Ruby | Module | class_variable_defined? - Tbpgr 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>2014-07-11 21:33:41</published>
  <title>Ruby | Module | class_variable_defined?</title>
  <type>rich</type>
  <url>https://tbpgr.hatenablog.com/entry/20140711/1405082021</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
