class RDoc::MethodAttr
def <=>(other)
def <=>(other) return unless other.respond_to?(:singleton) && other.respond_to?(:name) [@singleton ? 0 : 1, name_ord_range, name] <=> [other.singleton ? 0 : 1, other.name_ord_range, other.name] end
def <=>(other) return unless other.respond_to?(:singleton) && other.respond_to?(:name) [@singleton ? 0 : 1, name_ord_range, name] <=> [other.singleton ? 0 : 1, other.name_ord_range, other.name] end