addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

August 2014 Meeting

Untitled - Seth Vargo

Ruby is an excellent programming language from creating and managing custom DSLs, but how can we 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 alter the behavior of the system! The cleanroom pattern is a safe, convenient, Ruby-like approach for limiting the information exposed by a DSL while giving users the ability to write awesome code.


Join or login to comment.

  • Brian A.

    Great meetup, thanks to Seth for an awesome talk! Here's a link to the project I presented in my lightning talk; please add some GitHub issues if you see bugs or have suggestions.

    https://github.com/brianauton/rspec-live

    1 · August 13, 2014

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy