Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Now, if you could temporarily freeze, and then unfreeze only the ones you froze, that could be really cool.

Is that a missing feature in Ruby? You can't have a frozen reference to an object while retaining unfrozen ones in another scope? That's too bad.

 help



Yeah, in my testing freeze mutates the object itself to a permanent frozen state.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: