<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Tips</anon>
  </categories>
  <description>次をどうやって判定しているんだろう、と思ったらこんなメソッドあるんだ的なメモ 環境 $ ruby -v ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18] ドキュメント Range#each は各要素の succ メソッドを使用してイテレーションするようになりました。 - instance method Range#each (Ruby 2.6.0) とあり、succはどういうものかというと self の「次の」文字列を返します。 - instance method String#next (Ruby 2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2019%2F07%2F22%2F000000&quot; title=&quot;RubyのRangeオブジェクトで次の内容を差配しているのはsucc(next)メソッドの結果 - コード日進月歩&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-07-22 00:00:00</published>
  <title>RubyのRangeオブジェクトで次の内容を差配しているのはsucc(next)メソッドの結果</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2019/07/22/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
