Forum: Ruby-core [ruby-trunk - Bug #9387][Open] Documentation for Range#size is incomplete

D1f1c20467562fc1d8c8aa0d328def62?d=identicon&s=25 Florian Gilcher (skade)
on 2014-01-09 14:40
(Received via mailing list)
Issue #9387 has been reported by Skade (Florian Gilcher).

----------------------------------------
Bug #9387: Documentation for Range#size is incomplete
https://bugs.ruby-lang.org/issues/9387

Author: Skade (Florian Gilcher)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 2.1.0
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN


The documentation for Range#size does not mention the case where not all
arguments are instances of Numeric, in which case it returns nil.

I created a patch here: https://github.com/ruby/ruby/pull/501
Eabad423977cfc6873b8f5df62b848a6?d=identicon&s=25 unknown (Guest)
on 2014-01-18 13:20
(Received via mailing list)
Issue #9387 has been updated by Hiroshi SHIBATA.

Status changed from Open to Closed

fixed by r44549

----------------------------------------
Bug #9387: Documentation for Range#size is incomplete
https://bugs.ruby-lang.org/issues/9387#change-44407

* Author: Florian Gilcher
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.0
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 unknown (Guest)
on 2014-02-05 04:05
(Received via mailing list)
Issue #9387 has been updated by Usaku NAKAMURA.

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to
1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED

----------------------------------------
Bug #9387: Documentation for Range#size is incomplete
https://bugs.ruby-lang.org/issues/9387#change-44939

* Author: Florian Gilcher
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.0
* Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED
5cf8f058a4c094bb708174fb43e7a387?d=identicon&s=25 unknown (Guest)
on 2014-02-16 17:59
(Received via mailing list)
Issue #9387 has been updated by Tomoyuki Chikanaga.

Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1: REQUIRED to
1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED

r44549 was backported to ruby_2_0_0 at r45013.

----------------------------------------
Bug #9387: Documentation for Range#size is incomplete
https://bugs.ruby-lang.org/issues/9387#change-45207

* Author: Florian Gilcher
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.0
* Backport: 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED
9361878d459f1709feec780518946ee5?d=identicon&s=25 unknown (Guest)
on 2014-02-22 07:17
(Received via mailing list)
Issue #9387 has been updated by Yui NARUSE.

Backport changed from 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: REQUIRED to
1.9.3: DONTNEED, 2.0.0: DONE, 2.1: DONE

r45118

----------------------------------------
Bug #9387: Documentation for Range#size is incomplete
https://bugs.ruby-lang.org/issues/9387#change-45388

* Author: Florian Gilcher
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.0
* Backport: 1.9.3: DONTNEED, 2.0.0: DONE, 2.1: DONE
This topic is locked and can not be replied to.