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

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to