Project

General

Profile

Bug #11075

Rational literal undocumented

Added by steenslag (siep korteling) over 5 years ago. Updated over 5 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.

Also available in: Atom PDF