Sha256: 1e0fc67b670138190ba2e15cd7befe5d48761ef5778aa0b09673b865ffeb8953

Contents?: true

Size: 482 Bytes

Versions: 7

Compression:

Stored size: 482 Bytes

Contents

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

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.

    extend Meta
    event_callback :on_readable, :on_writable
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rev-0.3.2 lib/rev/io_watcher.rb
rev-0.3.1 lib/rev/io_watcher.rb
rev-0.3.0 lib/rev/io_watcher.rb
rev-0.2.1 lib/rev/io_watcher.rb
rev-0.2.3 lib/rev/io_watcher.rb
rev-0.2.2 lib/rev/io_watcher.rb
rev-0.2.4 lib/rev/io_watcher.rb