<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>argius</author_name>
  <author_url>https://blog.hatena.ne.jp/argius/</author_url>
  <blog_title>argius note</blog_title>
  <blog_url>https://argius.hatenablog.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyリファレンスによると、Enumerableは「繰り返しを行なうクラスのための Mix-in。」とある。Arrayクラスなんかが代表的だが、Enumerableのメソッドはたくさんあって覚えるのがたいへんそう。実際、まだいくつか良く分からないものがある。 よく使うのは、このくらい。 a = %w[bright cool dusty active] # each_with_index a.sort.each_with_index do |item, index| print &quot;[#&quot;, index, &quot; : &quot;, item, &quot;]&quot; end #=&gt; [#0 : active][#1 : b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fargius.hatenablog.jp%2Fentry%2F20060406%2F1144343931&quot; title=&quot;Enumerable使いこなしたい - argius note&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>2006-04-06 02:18:51</published>
  <title>Enumerable使いこなしたい</title>
  <type>rich</type>
  <url>https://argius.hatenablog.jp/entry/20060406/1144343931</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
