# File lib/rb-kqueue/watcher/read_write.rb, line 32 def initialize(queue, fd, type, callback) if fd.is_a?(IO) @io = fd fd = fd.fileno end @fd = fd @type = type super(queue, @fd, type, [], nil, callback) end