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,324 of 192,692
Downloads: 9,472,251

Daily

Ranking: 3,013 of 192,666
Downloads: 868

Depended by

RankDownloadsName
15,176138,199hybrid_platforms_conductor
25,68658,292roundtrip_xml
37,21134,627flo
59,31418,474pigspec
105,7017,582savvy

Depends on

RankDownloadsName
13,389,621,074bundler
81,311,002,349rake
29976,634,844rspec

Owners

#GravatarHandle
1iconsethvargo