[rspec-users] Object equality with a DSL

Scott Taylor mailing_lists at railsnewbie.com
Mon Aug 6 21:36:04 EDT 2007

How would you spec a DSL which descends from Jim Weirich's Blank Slate?

I'm asking this question because I have written a DSL, and would like  
to have the DSL class descend from BlankSlate so that methods like ==  
are not available in the DSL itself (in production), but only while  
Testing.  Does any one have any insight on this?

I can provide code samples if anyone would like me to be more specific.

Scott Taylor

More information about the rspec-users mailing list