Bug #11075 closed
Rational literal undocumented
Added by steenslag (siep korteling) about 10 years ago.
Updated about 10 years ago.
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.
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
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED
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.
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.
Also available in: Atom
PDF
Like 0
Like 0 Like 0 Like 0 Like 0