<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kos31de</author_name>
  <author_url>https://blog.hatena.ne.jp/kos31de/</author_url>
  <blog_title>kos31de.txt</blog_title>
  <blog_url>https://kos31de.hatenadiary.jp/</blog_url>
  <categories>
    <anon>技術メモ</anon>
  </categories>
  <description>配列の中で条件に合致するものを取ってきてくれるのが、select 配列の各要素が条件に合致するかどうか、真偽値を返すのが、map irb(main):004:0&gt; [&quot;1&quot;, &quot;2&quot;].select {|i| i == &quot;1&quot;} =&gt; [&quot;1&quot;] irb(main):006:0&gt; [&quot;1&quot;, &quot;2&quot;].map {|i| i == &quot;1&quot;} =&gt; [true, false] selectの反対はreject irb(main):005:0&gt; [&quot;1&quot;, &quot;2&quot;].reject {|i| i == &quot;1&quot;} =&gt; [&quot;2&quot;]</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkos31de.hatenadiary.jp%2Fentry%2F2019%2F10%2F25%2F195934&quot; title=&quot;selectとmap - kos31de.txt&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>2019-10-25 19:59:34</published>
  <title>selectとmap</title>
  <type>rich</type>
  <url>https://kos31de.hatenadiary.jp/entry/2019/10/25/195934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
