[Ironruby-core] IronRuby idiom for using (IDisposable) ?

Thibaut Barrère thibaut.barrere at gmail.com
Mon Feb 1 04:03:28 EST 2010


Is there a built-in way to achieve what C# 'using' does, with IronRuby ?

Although it's pretty easy to roll your own (
http://myotherpants.com/2009/09/disposable-code), I'd like to use the
built-in way if there's one.


-- Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100201/96fb9e55/attachment.html>

More information about the Ironruby-core mailing list