<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotaka-ito</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotaka-ito/</author_url>
  <blog_title>tomotaka-itoの日記</blog_title>
  <blog_url>https://tomotaka-ito.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>前回のエントリの続き。こんなmoduleを作ってみました。includeするだけでまともなhashが使えるようになります。 module Hashable require &quot;digest/sha1&quot; def hash class_name = self.class.to_s hash_str = class_name hash_str.concat(&quot;={&quot;) if not defined?(@@hashable_hash_use_vars) then @@hashable_hash_use_vars = hash_use_instance_vars() end @@hashable_hash…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomotaka-ito.hatenadiary.org%2Fentry%2F20110205%2F1296868818&quot; title=&quot;Rubyのhashメソッドをきちんと実装するとある1つの方法 - tomotaka-itoの日記&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>2011-02-05 10:20:18</published>
  <title>Rubyのhashメソッドをきちんと実装するとある1つの方法</title>
  <type>rich</type>
  <url>https://tomotaka-ito.hatenadiary.org/entry/20110205/1296868818</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
