[#79532] Immutable Strings vs Symbols — Daniel Ferreira <subtileos@...>

Hi,

15 messages 2017/02/15

[ruby-core:79434] [Ruby trunk Bug#11752] Bug in Rational documentation

From: sto.mar@...
Date: 2017-02-05 10:02:23 UTC
List: ruby-core #79434
Issue #11752 has been updated by Marcus Stollsteimer.


Any reason not to apply?

An obvious typo, but already 2 issues, one of them more than a year old...

----------------------------------------
Bug #11752: Bug in Rational documentation
https://bugs.ruby-lang.org/issues/11752#change-62864

* Author: Trygve Flathen
* Status: Open
* Priority: Normal
* Assignee: Zachary Scott
* Target version: 
* 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/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next