You can do that, but why would you want to?

Instead of having a clean class definition in a separate file, you'd 
need to include this is a kind of "initializing script". Not very 
pretty.

Also the "class" method doesn't tell you anything useful, and 
inheritance isn't possible.

So I'd rather call that a hack than an actual implementation.

-- 
Posted via http://www.ruby-forum.com/.