Categories: None [Edit]

cleanroom

https://rubygems.org/gems/cleanroom
https://github.com/sethvargo/cleanroom
Ruby is an excellent programming language for creating and managing custom DSLs, but how can you securely evaluate a DSL while explicitly controlling the methods exposed to the user? Our good friends instance_eval and instance_exec are great, but they expose all methods - public, protected, and private - to the user. Even worse, they expose the ability to accidentally or intentionally alter the behavior of the system! The cleanroom pattern is a safer, more convenient, Ruby-like approach for limiting the information exposed by a DSL while giving users the ability to write awesome code!

Total

Ranking: 2,002 of 180,404
Downloads: 7,920,232

Daily

Ranking: 1,906 of 180,385
Downloads: 7,067

Depended by

RankDownloadsName
2,0877,380,777berkshelf
14,090115,635hybrid_platforms_conductor
24,49249,353roundtrip_xml
33,43132,321flo
57,66715,789pigspec
107,6345,915savvy

Depends on

RankDownloadsName
12,060,853,113bundler
16849,094,940rake
23765,651,376rspec

Owners

#GravatarHandle
1iconsethvargo