So you know how classes are always open? What about anonymous classes?
x = Class.new
SyntaxError: compile error
(irb):2: class/module name must be CONSTANT
I suppose class_eval is the equivalent?
my_x = x.new
Unfortunately, that’s not as clear. I think that’s something I’m going
to have to live with, but any pointers for things I’m missing?
Also, is there any reason that the “class” declaration couldn’t accept
my first attempt at this (“class x; def foo; end; end”)?