<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwatch</author_name>
  <author_url>https://blog.hatena.ne.jp/kwatch/</author_url>
  <blog_title>kなんとかの日記</blog_title>
  <blog_url>https://kwatch.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>ブロックパラメータ代入は多重代入のルールが適用されます。 a, (b, c) = [1, [2,3]] [a, b, c] # =&gt; [1, 2, 3] ［ruby-list:44838］Re:計算するハッシュ なんと! 長年 Ruby を使ってきたけど全然知らんかった。 もしかして、今まで hash.inject('') {|s,t| s &lt;&lt; &quot;#{t[0]}:#{t[1]}\n&quot; }と書いてたのは hash.inject('') {|s,(k,v)| s &lt;&lt; &quot;#{k}:#{v}\n&quot; }とか書けちゃうんですか?!いやーんrubikitch氏++だな。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkwatch.hatenadiary.org%2Fentry%2F20080425%2F1209131860&quot; title=&quot; ブロックパラメータ代入は多重代入のルールが適用されます - kなんとかの日記&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>2008-04-25 22:57:40</published>
  <title> ブロックパラメータ代入は多重代入のルールが適用されます</title>
  <type>rich</type>
  <url>https://kwatch.hatenadiary.org/entry/20080425/1209131860</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
