Project

General

Profile

Actions

Bug #11752

closed

Bug in Rational documentation

Added by trygveflathen (Trygve Flathen) over 8 years ago. Updated about 7 years ago.

Status:
Closed
Assignee:
Target version:
-
[ruby-core:71755]

Description

Example for the + operator states that 900+1=900.

Rational(900)   + Rational(1)      #=> (900/1)

Seen in
http://ruby-doc.org/core-1.9.2/Rational.html
and
http://ruby-doc.org/core-2.2.3/Rational.html


Files

rational-addition-doc.patch (528 Bytes) rational-addition-doc.patch awwaiid (Brock Wilcox), 12/15/2015 03:28 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #13157: Rational doc bugClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0