On Wednesday 28 December 2005 11:52 pm, Max Eskin wrote:
> Hi,
> I am just starting to use Ruby. I'm wondering, once a class has been
> declared, is there any way to lock it to prevent further methods from
> being defined? In other words is there a way to make Ruby act like a
> static language for some classes?

Yeah, on a similar subject, under what circumstances would one want to add a 
method to an object if that method wasn't part of its class?

SteveT

Steve Litt
http://www.troubleshooters.com
slitt / troubleshooters.com