<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mgnup</author_name>
  <author_url>https://blog.hatena.ne.jp/mgnup/</author_url>
  <blog_title>MUGENUP技術ブログ</blog_title>
  <blog_url>https://mugenup-tech.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>皆さんこんにちは！遅れてきた最年長ルーキー MUGENUP の osada です。 さて皆さんは初めてオープンクラスという概念を知った時、驚かれませんでしたか？私はとても驚きました！だって、基本クラスさえもオーバライド可能なんですよ？ [コラム]オープンクラスとは？ 同名でクラス定義を行うと、クラスの再定義(上書き)ではなく、クラスへの追加拡張になる仕組み。 class A def a &quot;a&quot; end end a = A.new raise unless a.a == &quot;a&quot; raise if a.respond_to?(:b) # b というメソッドはない # 同名のクラス定義は拡張になる …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmugenup-tech.hatenadiary.com%2Fentry%2F2013%2F12%2F24%2F103952&quot; title=&quot;シンボルでも文字列でもアクセス可能なHashを使おう！ActiveSupport {Hash編} - MUGENUP技術ブログ&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>http://cdn-ak.f.st-hatena.com/images/fotolife/m/mgnup/20131118/20131118023234.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-24 10:39:52</published>
  <title>シンボルでも文字列でもアクセス可能なHashを使おう！ActiveSupport {Hash編}</title>
  <type>rich</type>
  <url>https://mugenup-tech.hatenadiary.com/entry/2013/12/24/103952</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
