RubyGems Navigation menu

attr_immutable 1.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 be accessed in any other way. No developer end runs.)

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.0.1 - September 06, 2011 (5.0 KB)
  2. 1.0.0 - September 06, 2011 (5.0 KB)
  3. 0.0.1 - September 04, 2011 (4.5 KB)

Development 依赖 (1):

rspec ~> 2.6

业主:

作者:

  • Mark Menard

SHA 256 校验和:

7e722151d48e015e09b513ef0695648dabb6810ab668c51d8406c2072991a67d

下载总量 15,493

这个版本 6,634

许可:

需要的 Ruby 版本:

链接: