Sha256: 45e47358a94aa5bf892a6c4d32246dd07411895cd979998e23139b7965a5c588

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

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

module Coolio
  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

2 entries across 2 versions & 1 rubygems

Version Path
cool.io-1.0.0 lib/cool.io/iowatcher.rb
cool.io-0.9.0 lib/cool.io/iowatcher.rb