From: awwaiid@... Date: 2015-12-15T15:28:42+00:00 Subject: [ruby-core:72148] [Ruby trunk - Bug #11752] Bug in Rational documentation Issue #11752 has been updated by Brock Wilcox. File rational-addition-doc.patch added Here is a patch for trunk -- I am practicing the correct way to submit patches here and this seemed like an easy start :) ---------------------------------------- Bug #11752: Bug in Rational documentation https://bugs.ruby-lang.org/issues/11752#change-55560 * Author: Trygve Flathen * Status: Open * Priority: Normal * Assignee: Zachary Scott * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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) -- https://bugs.ruby-lang.org/