https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112013-08-31T17:29:38ZRuby Issue Tracking SystemRuby master - Feature #8838: Enhancing Numeric#stephttps://redmine.ruby-lang.org/issues/8838?journal_id=414852013-08-31T17:29:38Zknu (Akinori MUSHA)knu@ruby-lang.org
<ul><li><strong>Category</strong> changed from <i>misc</i> to <i>core</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> changed from <i>matz (Yukihiro Matsumoto)</i> to <i>knu (Akinori MUSHA)</i></li></ul><p>=begin<br>
[[DevelopersMeeting20130831Japan]]にてまつもとさんにOKをいただきましたので、近いうちに入れます。<br>
=end</p> Ruby master - Feature #8838: Enhancing Numeric#stephttps://redmine.ruby-lang.org/issues/8838?journal_id=415412013-09-02T23:56:10Zknu (Akinori MUSHA)knu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r42781.<br>
Akinori, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>Enhance Numeric#step.</p>
<ul>
<li>
<p>numeric.c (num_step): Default the limit argument to infinity and<br>
allow it to be omitted. Keyword arguments (by: and to:) are<br>
introduced for ease of use. [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Enhancing Numeric#step (Closed)" href="https://redmine.ruby-lang.org/issues/8838">#8838</a>] <a href="/issues/8838">[ruby-dev:47662]</a><br>
<a href="https://blade.ruby-lang.org/ruby-dev/42194">[ruby-dev:42194]</a></p>
</li>
<li>
<p>numeric.c (num_step): Optimize for infinite loop.</p>
</li>
</ul>