RubyGems.org

Provide a new macro like attr_accessor to make real read_only accessors to frozen dup of the attributs given in parameters

installgem install attr_readonly
Authors

Romain GEORGES

1,150 total downloads 608 for this version
Owners

8f7d42803c41a634b80077f8b3b4d526E39341d3a71a248b793d15e12788d0c3

Licenses

BSD

Gemfile
gem 'attr_readonly', '~> 1.0.0'
Versions
  1. 1.0.0 October 18, 2013 (9 KB)
  2. 0.0.1 October 18, 2013 (6 KB)