<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>Railsのコードを読んでいたら見つけたのでメモ。 Arrayをわざわざnewしなくとも、連番のデータは実は楽に作る事が出来る、というお話です。 ary = [1,2,3] Array(ary) #=&gt; [1,2,3] Array(&quot;str&quot;.split(&quot;&quot;)) #=&gt; [&quot;s&quot;, &quot;t&quot;, &quot;r&quot;] Array({a: 1, b:2}) =&gt; [[:a, 1], [:b, 2]] Array(0..90) #=&gt; [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2014%2F06%2F19%2F235051&quot; title=&quot;Arrayに引数を取ると配列として返してくれる...けどto_aと挙動が違わない - Bye Bye Moore&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>2014-06-19 23:50:51</published>
  <title>Arrayに引数を取ると配列として返してくれる...けどto_aと挙動が違わない</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2014/06/19/235051</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
