From: shugo@... Date: 2017-02-25T05:27:01+00:00 Subject: [ruby-core:79768] [Ruby trunk Bug#13165][Rejected] Typographical Error in Refinements docs 2.1.1 Issue #13165 has been updated by Shugo Maeda. Status changed from Open to Rejected We never backport any bug fixes to 2.1 except security fixes as announce before: https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/ If you nevertheless believe the documentation should be fixed, contact suggestions@ruby-doc.org. ---------------------------------------- Bug #13165: Typographical Error in Refinements docs 2.1.1 https://bugs.ruby-lang.org/issues/13165#change-63193 * Author: Simon Peter Damian Simon Peter * Status: Rejected * Priority: Normal * Assignee: * Target version: * ruby -v: 2.1.1 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- If you check the example for refinements [[https://ruby-doc.org/core-2.1.1/doc/syntax/refinements_rdoc.html]][[here]], the varialbe **c** is not defined, it is suppose to be x. If a new user tries to run this code, this will raise a NameError exception. When I saw this first, I thought it was valid owing to the surprises of the ruby language. It would be nice if this error is corrected so we don't have issues while reading the docs. Thank you. ---Files-------------------------------- Screen Shot 2017-01-27 at 11.07.00 AM.png (20.2 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: