RubyGems Navigation menu

immutable_struct 1.0.0

An immutable implementation of Ruby's `Struct` class. 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.

Gemfile:
=

安装:
=

版本列表:

  1. 1.2.0 March 18, 2016 (6.0 KB)
  2. 1.1.1 May 20, 2013 (5.0 KB)
  3. 1.1.0 December 20, 2012 (5.0 KB)
  4. 1.0.2 September 26, 2010 (5.0 KB)
  5. 1.0.0 July 06, 2010 (6.0 KB)

Development 依赖 (2):

rspec >= 1.2.9
yard >= 0

所有者:

作者:

  • Theo Hultberg

SHA 256 校验和:

=

下载总量 102,254

这个版本 3,901

版本发布:

许可:

需要的 Ruby 版本:

链接: