Actions
Bug #13165
closedTypographical Error in Refinements docs 2.1.1
Bug #13165:
Typographical Error in Refinements docs 2.1.1
Description
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
Actions