A version of Ruby's Struct class that creates classes whose instances are immutable. It works just as Struct, but there are no setters, and you can't use []=. As a bonus feature the constructor of classes inheriting from ImmutableStruct can take named parameters in the form of a hash.
Required Ruby Version
>= 0
Required Rubygems Version
>= 1.3.6
Authors
Theo Hultberg, Ben Cates
Versions
-
1.2.0
-
source
- 1.2.0 source March 18, 2016 (6 KB)
-
-
1.1.1
-
source
- 1.1.1 source May 20, 2013 (5 KB)
-
-
1.1.0
-
source
- 1.1.0 source December 20, 2012 (5 KB)
-
-
1.0.2
-
source
- 1.0.2 source September 26, 2010 (5 KB)
-
-
1.0.0
-
source
- 1.0.0 source July 06, 2010 (6 KB)
-