Sha256: 57cd79a2a1fa9fde104d96f56f83939b9c0eea84571931ac98843a95b7cf50a0
Contents?: true
Size: 226 Bytes
Versions: 1
Compression:
Stored size: 226 Bytes
Contents
module LightIO class Watcher attr_reader :callback def set_callback(&blk) raise Error, "already has callback" if @callback @callback = blk end def register(backend) raise end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lightio-0.1.0.pre | lib/lightio/watcher.rb |