Sha256: 01247eeee3d14f08e953d5a8a50dca72b8758632ba855372d48fc42f23e2ce99

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

require 'io/epoll/epoll'

class IO
  class Epoll
    class << self
      alias create new
    end

    def add(io, events)
      ctl(CTL_ADD, io, events)
    end

    def mod(io, events)
      ctl(CTL_MOD, io, events)
    end

    def del(io)
      ctl(CTL_DEL, io)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
io-epoll-0.1.0 lib/io/epoll.rb