Bug #11075
closed
Rational literal undocumented
Added by steenslag (siep korteling) over 9 years ago.
Updated over 9 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.
- 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
Like0
Like0Like0Like0Like0