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:
= Copy to clipboard Copied!

instalar:
=

Versões:

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

Development Dependencies (2):

rspec >= 1.2.9
yard >= 0

Donos:

Autores:

  • Theo Hultberg

SHA 256 checksum:

3576080916c2a2d5892256123694f64d8a43bca28ea67d7fad0addcf77d5d828

Total de downloads 86.463

Desta versão 3.690

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: