BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

restricted_struct

v0.2.1RubyGems· Ruby

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

The verdict
Abandoned. Last published 11 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 11 years ago.
Popularity
49 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.2.111 years ago
  • 0.2.011 years ago
  • 0.1.011 years ago
restricted_struct — This gem allows to use ruby's Struct, but automatically hides all the attributes as private or protected, which provides higher level of encapsulation. (Ruby / RubyGems) · Modules