Paste: destructors in ruby

Author: slava
Mode: ruby
Date: Tue, 29 Sep 2009 07:12:20
Plain Text |
Destructors::new() { |d|
    in = File.open "bla"
    d << in
    out = FIle.out "hey"
    d << out

    ...
}

New Annotation

Summary:
Author:
Mode:
Body: