RubyGems Navigation menu

restricted_struct 0.2.0

This gem allows to use ruby's Struct, but automatically hides all the attributes as private or protected, which provides higher level of encapsulation.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - February 06, 2015 (10 KB)
  2. 0.2.0 - January 30, 2015 (10 KB)
  3. 0.1.0 - January 21, 2015 (9 KB)

Development Dependencies (2):

bundler ~> 1.7
rake ~> 10.0

Owners:

Authors:

  • Alexey Fedorov, Anselm Helbig

SHA 256 checksum:

1ad193253ad553843632d3de6336ff5fdeb199c8d0256e614dae8462aec53927

Total downloads 32,528

For this version 2,177

License:

MIT

Required Ruby Version: >= 0

Links: