hacks/const_var |
Public Methods |
Freeze a list of objects, yield the list to the given block, and unfreeze each of the objects that was frozen (will not unfreeze an object that was already frozen).
| arr | the list of objects to freeze |
|---|---|
| block | the block to call |
Returns: the value returned from calling the block