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,353 of 195,762
Downloads: 9,705,861

Daily

Ranking: 2,804 of 195,747
Downloads: 2,361

Depended by

RankDownloadsName
15,339141,801hybrid_platforms_conductor
25,92459,482roundtrip_xml
37,75835,002flo
59,59818,867pigspec
105,7287,815savvy

Depends on

RankDownloadsName
13,629,697,366bundler
81,384,293,602rake
291,006,320,288rspec

Owners

#GravatarHandle
1iconsethvargo