I wouldn’t call that a strange feature, just a surprising consequence of an un-strange feature, namely that inheritance involves expressions and that classes are first-class entities.
Folks from certain other languages would be just as surprised to find out that you can alias classes by assigning them, return them from functions, and so on.
http://stackoverflow.com/a/2026849
Basically, it is possible to inherit a random class in ruby.