<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YokoKen</author_name>
  <author_url>https://blog.hatena.ne.jp/YokoKen/</author_url>
  <blog_title>気楽に諸々</blog_title>
  <blog_url>https://yokoken.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ほへ〜、オブジェクトのインスタンス変数の変更を禁止できるとは class Hoge def initialize @var = &quot;&quot; end attr_accessor :var end h = Hoge.new() h.var = &quot;abc&quot; h.freeze() begin h.var = &quot;aiueo&quot; rescue TypeError =&gt; err puts err.message #=&gt; can't modify frozen object end</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyokoken.hatenadiary.org%2Fentry%2F20090211%2F1234359307&quot; title=&quot;freeze メソッド - 気楽に諸々&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>2009-02-11 22:35:07</published>
  <title>freeze メソッド</title>
  <type>rich</type>
  <url>https://yokoken.hatenadiary.org/entry/20090211/1234359307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
