Issue #8923 has been updated by Xavier Noria.


Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module into true/false or the TrueClass/FalseClass to specially check if a value is only true or false

Can you explain that use case a little further?



----------------------------------------
Feature #8923: Frozen nil/true/false
https://bugs.ruby-lang.org/issues/8923#change-48788

* Author: Koichi Sasada
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: core
* Target version: current: 2.2.0
----------------------------------------
Related to [Feature #8906]

We already froze `Integer`, `Float`. `Symbol`s soon (now working).

How about to freeze `nil`, `true` and `false`, too?

 # frozen ruby? "Ruby"f?




-- 
https://bugs.ruby-lang.org/