https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112013-04-10T01:21:10ZRuby Issue Tracking SystemRuby master - Bug #8242: Fix rdoc of Range#bsearchhttps://redmine.ruby-lang.org/issues/8242?journal_id=384012013-04-10T01:21:10Zmarcandre (Marc-Andre Lafortune)marcandre-ruby-core@marc-andre.ca
<ul></ul><p>I understood "sorted" as a synonym of "monotone". The important part is "with respect to the block".</p>
<p>A range can be "sorted with respect to the block", in the same way an array can.</p>
<p>Note that although [-1, 0, 1] is sorted (with respect to <=>), it is not sorted with respect to {|x| x.abs}, for example.</p> Ruby master - Bug #8242: Fix rdoc of Range#bsearchhttps://redmine.ruby-lang.org/issues/8242?journal_id=389872013-04-28T10:40:03Zzzak (zzak _)
<ul></ul><p><a class="user active user-mention" href="https://redmine.ruby-lang.org/users/182">@marcandre (Marc-Andre Lafortune)</a> What do you suggest?</p> Ruby master - Bug #8242: Fix rdoc of Range#bsearchhttps://redmine.ruby-lang.org/issues/8242?journal_id=392252013-05-09T23:20:50Zzzak (zzak _)
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> changed from <i>mame (Yusuke Endoh)</i> to <i>marcandre (Marc-Andre Lafortune)</i></li></ul> Ruby master - Bug #8242: Fix rdoc of Range#bsearchhttps://redmine.ruby-lang.org/issues/8242?journal_id=396162013-06-02T12:05:29Zzzak (zzak _)
<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 r41026.<br>
Yutaka, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>range.c: Fix rdoc on Range#bsearch [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Fix rdoc of Range#bsearch (Closed)" href="https://redmine.ruby-lang.org/issues/8242">#8242</a>] <a href="/issues/8242">[ruby-core:54143]</a></li>
</ul> Ruby master - Bug #8242: Fix rdoc of Range#bsearchhttps://redmine.ruby-lang.org/issues/8242?journal_id=396512013-06-02T22:38:41Znagachika (Tomoyuki Chikanaga)nagachika00@gmail.com
<ul><li><strong>Backport</strong> set to <i>2.0.0: DONE</i></li></ul>