Sha256: cd0b90869b9eb2a4164c471b83ee6ecbc986ac9fe218cfea28b0c223afca472f

Contents?: true

Size: 474 Bytes

Versions: 2

Compression:

Stored size: 474 Bytes

Contents

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

module Coolio
  class TimerWatcher
    # 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_timer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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