logoalt Hacker News

idle_zealotyesterday at 8:35 PM1 replyview on HN

> 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.


Replies

xp84yesterday at 11:43 PM

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