Joined July 2012
·
Posted to
Ruby: the differences between dup & clone
over 1 year
ago
@annavester freeze will indeed lock the object, making it immutable. This means that it cannot be changed any more. You can't unfreeze an object once it's frozen, because that would mean modifying the object from an immutable to a mutable state. Accordingly, there's no unfreeze method. More information can be found here: http://rubylearning.com/satishtalim/mutable_and_immutable_objects.html
Achievements
93 Karma
0 Total ProTip Views

Altruist
Increase developer well-being by sharing at least 20 open source projects

Raven
Have at least one original repo where some form of shell script is the dominant language

T-Rex
Have at least one original repo where C is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Forked
Have a project valued enough to be forked by someone else

Charity
Fork and commit to someone's open source project in need

Mongoose 3
Have at least three original repos where Ruby is the dominant language

Mongoose
Have at least one original repo where Ruby is the dominant language

Epidexipteryx
Have at least one original repo where C++ is the dominant language
Even simpler:
Usage: