RubyGems Navigation menu

restricted_struct 0.2.1

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:

829f33f7f3f913f45e5558c534bcebe45497c0247604dc4973718beca202884c

Total downloads 32,504

For this version 28,063

License:

MIT

Required Ruby Version: >= 0

Links: