<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>tanakaは文字列に弱いことが判明してしまった・・・気を取り直して13章のHashに取りかかる。今やHashのない生活なんてありえないので、しっかり学んでいきたい。C言語でもハッシュつかいてぇなぁ・・・(最近C言語ブーム ブロックによる初期化 この構文がイマイチ理解出来なかった。 h = Hash.new do |hash, key| hash[key] = key.upcase end h[&quot;abc&quot;] = &quot;abc&quot; h[&quot;xyz&quot;] p h[&quot;abc&quot;] # abc p h[&quot;xyz&quot;] # XYZ 色々テストした結果、代入されなかった時に、newの定義が呼ばれることがわかった。引数に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070501%2F1178029655&quot; title=&quot; たのしいRuby 第13章 Hashクラス - ボクノス&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>2007-05-01 23:27:35</published>
  <title> たのしいRuby 第13章 Hashクラス</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070501/1178029655</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
