RubyGems Navigation menu

attr_immutable 1.0.0

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:
= 複製 已複製

安裝:
=

版本列表:

  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 checksum:

c870e96f5955c3a592b9d8782c952e72371e19d2726540ff375d19daae3acf43

總下載次數 15,547

這個版本 4,477

License:

Ruby 版本需求:

相關連結: