[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

String.allocate etc...

From: Dave Thomas <dave@...>
Date: 2003-04-11 13:56:53 UTC
List: ruby-core #956
Just wondering... why are the .allocate methods public? Using them, I 
can bypass the initialization that the class designer intended for 
objects, and so break class invariants.

Cheers


Dave


In This Thread

Prev Next