[MacRuby-devel] Tutorial for the new Sandbox class.

Rob Gleeson rob at flowof.info
Thu Oct 7 03:06:11 PDT 2010


On 7 Oct 2010, at 10:49, Nick Ludlam wrote:

> Hi Rob,
> I like the tutorial, it's nicely short and concise. One thing I'd like to see is the expected outcome of running the code you've placed within the text. Could you include this information underneath the code blocks?
> 
> I'm imagining that most people would try this out using the interactive prompt (and you can maybe mention that as an exercise for the reader), so it's a nice little hint to go and play around with the files in /usr/share/sandbox/
> 
> I've always found that having an interactive console is one of the most encouraging things about Ruby, so it's always nice to promote its use, especially when learning.
> 
> 
> Nick

Hm, those are good points. I also failed to mention that Sandbox#apply! will raise a SecurityError if sandbox_init fails.
I think I should mention that, too.

Matt, could you hold off until tonight or tomorrow so I can make those changes?

Thanks, 
Rob



More information about the MacRuby-devel mailing list