<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tbpg</author_name>
  <author_url>https://blog.hatena.ne.jp/tbpg/</author_url>
  <blog_title>Tbpgr Blog</blog_title>
  <blog_url>https://tbpgr.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>概要 Numeric#divmod(other) -&gt; [Numeric] 詳細 self を other で割った整数の商 q と余り r を返却。商はNumeric#div 余りはNumeric#modulo と同じ値。 サンプルコード p 5.divmod(2) p 5 / 2 p 5.div(2) p 5 % 2 p 5.modulo(2) p 4.divmod(2) p 2.divmod(4) 出力 $ ruby numeric_divmod.rb [2, 1] 2 2 1 1 [2, 0] [0, 2] 参照 http://docs.ruby-lang.org/ja/2.0.0/m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20140906%2F1410009852&quot; title=&quot;Ruby | Numeric | divmod - Tbpgr Blog&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-09-06 22:24:12</published>
  <title>Ruby | Numeric | divmod</title>
  <type>rich</type>
  <url>https://tbpgr.hatenablog.com/entry/20140906/1410009852</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
