You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Method names sorted by ASCII code causes ~ and | to be placed at the bottom #1204
Since the ASCII codes for ~ and | are greater than the alpha character codes, they are placed at the bottom of the method list compared to other operators such as !, +, or %. This is a bit odd as these two characters end up not grouped with the other operators.
For example, for Integer documentation, we can see that most of the operator methods are at the top:
Activity
Methods are sorted symbols-first
flavorjones commentedon Nov 30, 2024
Opened #1219 to address this.
[ruby/rdoc] Methods are sorted symbols-first
peterzhu2118 commentedon Nov 30, 2024
Thanks @flavorjones @st0012 for fixing this!
BurdetteLamar commentedon Nov 30, 2024
There are other lists of methods that suffer similarly; in particular, lists in some "What's Here" sections. I'll look into fixing them.
Methods are sorted symbols-first (ruby#1219)