<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ti9wab</author_name>
  <author_url>https://blog.hatena.ne.jp/ti9wab/</author_url>
  <blog_title>ちくわ工務店</blog_title>
  <blog_url>https://ti9wab.hatenadiary.jp/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>書き方メモ</anon>
  </categories>
  <description>Ruby初心者なのでggr方もよちよちである。 同じ苦労の繰り返しはつらいので随時まとめる。 continue的なやつ nextを使う map 概要 配列の中身を変換する 用例 a1 = [100, 200, 300] a2 = a1.map { |x| x * 2 } p a2 # =&gt; [200, 400, 600] 参考 Rubyのmap, map!メソッドの使い方 - UX MILK reduce 概要 配列の内容を使って繰り返し計算する 用例 numbers = [1,2,3,4,5] puts numbers.reduce {|sum, n| sum + n } # =&gt; 15 参…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fti9wab.hatenadiary.jp%2Fentry%2F2018%2F01%2F09%2F000000&quot; title=&quot;書き方メモ Ruby - ちくわ工務店&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>2018-01-09 00:00:00</published>
  <title>書き方メモ Ruby</title>
  <type>rich</type>
  <url>https://ti9wab.hatenadiary.jp/entry/2018/01/09/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
