Created
October 16, 2014 14:18
-
-
Save iNecas/4ba38552d6dc666b766f to your computer and use it in GitHub Desktop.
freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hell | |
attr_accessor :temperature | |
end | |
hell = Hell.new | |
hell.temperature = 100 | |
hell.freeze | |
hell.temperature = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment