From: "Marcin Mielżyński" Date: 2007-09-01T23:20:06+09:00 Subject: Re: Shouldn't it be class >> self , or am I dyslexic? Ben Tompkins pisze: > This is the correct title, uh, I think... > > dyslexic me :) The << direction is correct (and intuitive IMHO), given: class A < B end This can do two things, either creates and opens class A extending class B or reopens class A if it already exits (in the second case the superclass is optional, but if given it must match the existing class superclass) now, given: s = "some_string" class << s end What this does ? it either creates and opens singleton class for s instance or reopens the singleton it if it already exits. Since singleton classes dont have their names you could also imagine between class and << tokens here. The only question that could arise is: why there are two different tokens (<< and <) ?. I think Matz wanted to syntactically differentiate how to deal with classes and metaclasses. lopex