RubyGems Navigation menu

attr_immutable 0.0.1

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 accessed in any other way.)

Gemfile:
=

installation:
=

Versions:

  1. 1.0.1 September 06, 2011 (5 ko)
  2. 1.0.0 September 06, 2011 (5 ko)
  3. 0.0.1 September 04, 2011 (4,5 ko)

Propriétaires:

Auteurs:

  • Mark Menard

Total de contrôle SHA 256:

=

Total de téléchargements 15 845

Pour cette version 4 499

Version publiée:

License:

aucune

Version de Ruby requise: None

Liens: