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,262 of 186,954
Downloads: 8,962,438

Daily

Ranking: 3,146 of 186,947
Downloads: 490

Depended by

RankDownloadsName
14,863128,586hybrid_platforms_conductor
25,51753,960roundtrip_xml
35,96333,521flo
58,91417,308pigspec
106,3116,889savvy

Depends on

RankDownloadsName
12,937,224,863bundler
101,139,617,007rake
27914,083,740rspec

Owners

#GravatarHandle
1iconsethvargo