Sign in Sign up
rubygems

immutable_struct

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.

Activity

Latest release
10y ago
Total releases
5
Cadence
~1.4 years
Last 12 months
0

Details

First release
Mar 12, 2010
Releases
Version Released
1.2.0 minor
1.1.1 patch
1.1.0 minor
1.0.2 patch
1.0.0 initial