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,330 of 193,214
Downloads: 9,526,010

Daily

Ranking: 2,951 of 193,188
Downloads: 1,737

Depended by

RankDownloadsName
15,206139,155hybrid_platforms_conductor
25,74658,567roundtrip_xml
37,32234,711flo
59,34118,563pigspec
105,6677,633savvy

Depends on

RankDownloadsName
13,441,039,624bundler
81,330,047,653rake
29983,045,376rspec

Owners

#GravatarHandle
1iconsethvargo