<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gakeppuchi-pg</author_name>
  <author_url>https://blog.hatena.ne.jp/gakeppuchi-pg/</author_url>
  <blog_title>がけっぷちプログラマーのひとりごと</blog_title>
  <blog_url>https://gakeppuchi-pg.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>下記VScodeについて even?メソッドは対象の値に対して偶数、奇数を判別する。 count_evensの実引数を配列にすることで仮引数numsに渡している。 def count_evens(nums) count = 0 nums.each do |num| if num.even? count += 1 end end puts count end count_evens([2, 2, 0])</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgakeppuchi-pg.hatenablog.com%2Fentry%2F2020%2F11%2F21%2F122652&quot; title=&quot;rubyドリル22 - がけっぷちプログラマーのひとりごと&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>2020-11-21 12:26:52</published>
  <title>rubyドリル22</title>
  <type>rich</type>
  <url>https://gakeppuchi-pg.hatenablog.com/entry/2020/11/21/122652</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
