<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Crystal</anon>
    <anon>Ruby</anon>
  </categories>
  <description>これは「Ruby脳にはCrystalつらい Advent Calendar 2015」の8日目の記事です。 qiita.com Ruby だと、プログラマーが配列の1番目の要素は整数で、2番目の要素が文字列で…といったように決めて、次のようなコードを書いたりすることがあります。 [ [ 1, &quot;hoge&quot; ], [ 2, &quot;fuga&quot; ], [ 3, &quot;piyo&quot; ], ].each do |obj| num, str = obj num + 100 str.size end Crystal だとこれはコンパイルエラーになります。 % crystal hoge.cr Error in ./ho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2015%2F12%2F08%2Fcrystal&quot; title=&quot;Crystal は配列内要素に対してすべての要素が持つメソッドしか呼び出せなくてつらい - tmtms のメモ&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>2015-12-08 00:00:00</published>
  <title>Crystal は配列内要素に対してすべての要素が持つメソッドしか呼び出せなくてつらい</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/2015/12/08/crystal</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
