AttrImmutable add the attr_immutable class method to create immutable properties on Ruby classes. The attribute are only accessible using the accessor/mutator pair by hiding the attribute value using a closure. (ie. the immutable attribute is not stored in an instance variable and therefore can't be accessed in any other way. No developer end runs.)
Required Ruby Version
None
Authors
Mark Menard
Versions
-
1.0.1
-
source
- 1.0.1 source September 06, 2011 (5 KB)
-
-
1.0.0
-
source
- 1.0.0 source September 06, 2011 (5 KB)
-
-
0.0.1
-
source
- 0.0.1 source September 04, 2011 (4.5 KB)
-