Project

General

Profile

Actions

Bug #11075

closed

Rational literal undocumented

Added by steenslag (siep korteling) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:<unknown>]

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.

Actions #1

Updated by hsbt (Hiroshi SHIBATA) about 6 years ago

  • Status changed from Open to Closed

Applied in changeset r50406.


Actions #2

Updated by usa (Usaku NAKAMURA) about 6 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
Actions #3

Updated by usa (Usaku NAKAMURA) about 6 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) about 6 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

Also available in: Atom PDF