Actions
Bug #11075
closedRational literal undocumented
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.2.2
Description
From the 2.2.2 docs for the Rational class: "In ruby, you can create rational object with Rational, #to_r or rationalize method."
The new 2/6r literal remains unmentioned.
Updated by hsbt (Hiroshi SHIBATA) over 9 years ago
- Status changed from Open to Closed
Applied in changeset r50406.
- rational.c: Added documentation for rational literal.
[Bug #11075][fix GH-885][ci skip] Patch by @shishir127 (Shishir Joshi)
Updated by usa (Usaku NAKAMURA) over 9 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED
Updated by usa (Usaku NAKAMURA) over 9 years ago
- Backport changed from 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED
ruby_2_1 r50579 merged revision(s) 50406,50407.
Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago
- Backport changed from 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE
Backported into ruby_2_2
at r50627.
Actions
Like0
Like0Like0Like0Like0