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

Ivan Porto Carrero
Mon, 01 Feb 2010 09:08:32 -0000

you don''t need to provide the true anymore. It was a bug a year ago and
I
still have to update that
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)



On Mon, Feb 1, 2010 at 10:07 AM, Ivan Porto Carrero <
ivan at whiterabbitconsulting.eu> wrote:

> yes
>
>
>
http://github.com/casualjim/ironnails/blob/master/IronNails/vendor/iron_nails/lib/core_ext/kernel.rb#L17
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Blog: http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
>
>
>
> On Mon, Feb 1, 2010 at 10:03 AM, Thibaut Barr?re <
> thibaut.barrere at gmail.com> wrote:
>
>> Hello,
>>
>> 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.
>>
>> thanks!
>>
>> -- Thibaut
>>
>> _______________________________________________
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20100201/c57eada5/attachment.html>