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,249 of 186,698
Downloads: 8,918,882

Daily

Ranking: 2,701 of 186,685
Downloads: 874

Depended by

RankDownloadsName
14,868127,006hybrid_platforms_conductor
25,55853,252roundtrip_xml
35,84333,275flo
58,97017,072pigspec
106,5816,749savvy

Depends on

RankDownloadsName
12,900,560,356bundler
101,125,994,016rake
27908,151,619rspec

Owners

#GravatarHandle
1iconsethvargo