Project

General

Profile

Actions

Bug #11075

closed

Rational literal undocumented

Added by steenslag (siep korteling) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0