Sha256: f8652ef8a81b9779bd32b7442de3d1b64dca29b8cd70451c43b817cf426c8404

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

##
# Meta-programming IO for Safety Check
class IO
  raw_close = instance_method(:close)

  define_method(:close) do
    # Be sure to clean the queue
    EventLoop.release_queue(self)
    raw_close.bind(self).()
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
murasaki-0.2.2 lib/murasaki/io.rb
murasaki-0.2.1.1 lib/murasaki/io.rb
murasaki-0.2.1 lib/murasaki/io.rb