ruby/lib/rdoc/code_object
Mike Dalessio 83bd9191d8 [ruby/rdoc] Methods are sorted symbols-first
(https://github.com/ruby/rdoc/pull/1219)

There are three distinct ranges of symbols in ASCII:

- the range below "A", 0..64 in decimal
- the range between "Z" and "a", 91..96 in decimal
- the range above "z", 123..127 in decimal

With this change, any method starting with a character in these
"symbol ranges" will be sorted before a method starting with an alpha
ASCII character. The remaining methods, all starting with alpha or
8-bit characters, will be sorted against each other exactly as before.

Specifically this addresses the issue from #1204 which is that `#[]`
and `#^` were previously sorted _after_ the alpha methods. These
methods will now be sorted before alpha methods.

Fixes https://github.com/ruby/rdoc/pull/1204

a4f13d242b
2024-11-30 16:06:54 +00:00
..
context
alias.rb
anon_class.rb
any_method.rb
attr.rb
class_module.rb [ruby/rdoc] Display class ancestors in the sidebar #1183 2024-11-04 17:34:27 +00:00
constant.rb
context.rb
extend.rb
ghost_method.rb
include.rb
meta_method.rb
method_attr.rb [ruby/rdoc] Methods are sorted symbols-first 2024-11-30 16:06:54 +00:00
mixin.rb
normal_class.rb
normal_module.rb
require.rb
single_class.rb
top_level.rb