From: Elias Athanasopoulos Date: 2003-11-14T02:58:50+09:00 Subject: modify a frozen object Hello! I get: stress.rb:11:in `Get': can't modify frozen object (TypeError) when I'm trying to create an object from a class method I have defined in a ruby extension. Imagine: static VALUE cFoo_get(VALUE self) { VALUE obj; ... return cBar_init(obj); } I am testong the bahaviour like this: f = Foo.new b = f.Get # now b is a new Bar instance? Any ideas? TIA, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky