On Apr 23, 2010, at 15:09 , Xavier Noria wrote:

> In my view nil makes more sense than an empty string. An anonymous
> module has no name by definition, and you know nil is conventionally
> used to represent lack of value.

Not "by definition"... which is why I'm asking.

The following example used to work fine:

> a = []
> ObjectSpace.each_object(Module) do |m|
>   a << m
> end
> 
> p a.sort_by { |m| m.name }

I think it still should.