Sha256: 08f5939a54443ce191c5f107e8fb9c2de7646afe75685e7dec3e79b7f973bdcf

Contents?: true

Size: 509 Bytes

Versions: 5

Compression:

Stored size: 509 Bytes

Contents

#--
# Copyright (C)2007 Tony Arcieri
# You can redistribute this under the terms of the Ruby license
# See file LICENSE for details
#++

require File.dirname(__FILE__) + '/../rev'

module Rev
  class IOWatcher
    # The actual implementation of this class resides in the C extension
    # Here we metaprogram proper event_callbacks for the callback methods
    # These can take a block and store it to be called when the event
    # is actually fired.

    event_callback :on_readable, :on_writable
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rev-0.1.0 lib/rev/io_watcher.rb
rev-0.1.1 lib/rev/io_watcher.rb
rev-0.1.3 lib/rev/io_watcher.rb
rev-0.1.4 lib/rev/io_watcher.rb
rev-0.1.2 lib/rev/io_watcher.rb