From: Jeremy McAnally Date: 2008-08-15T01:05:59+09:00 Subject: Re: Documenting DSLs Really the same could be said about gem install hooks, etc. Someone could write a rogue gem to blow away any arbitrary amount of data. Though a bad example in your code and whoops! :P Maybe when sandboxing is more ubiquitous? --Jeremy On Thu, Aug 14, 2008 at 10:34 AM, Dave Thomas wrote: > > On Aug 14, 2008, at 9:58 AM, Trans wrote: > >>> That satisfies the goal "tests are documentation". >> >> That's a tall order! I'm not sure about mixing the tests into the docs >> though. That can be a lot a tests and could obscure the docs. >> Nonetheless I'm sure there are ways. > > I wrote a hack for RDoc a while back that executed code during the > documentation process, but pulled it when I thought through the massive > security implications.... > > > Dave > > -- http://jeremymcanally.com/ http://entp.com/ http://omgbloglol.com My books: http://manning.com/mcanally/ http://humblelittlerubybook.com/ (FREE!)