From: nagachika00@... Date: 2015-05-23T18:36:09+00:00 Subject: [ruby-core:69334] [Ruby trunk - Bug #11075] Rational literal undocumented Issue #11075 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE Backported into `ruby_2_2` at r50627. ---------------------------------------- Bug #11075: Rational literal undocumented https://bugs.ruby-lang.org/issues/11075#change-52604 * Author: siep korteling * Status: Closed * Priority: Normal * Assignee: * ruby -v: 2.2.2 * Backport: 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE ---------------------------------------- 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. -- https://bugs.ruby-lang.org/