Sha256: 8747a45b4df10ee159ee09ccab0935778664c6a3ec7df2dd20924f8fe310859f
Contents?: true
Size: 175 Bytes
Versions: 27
Compression:
Stored size: 175 Bytes
Contents
module Kernel def every(time, &block) Thread.new { loop { sleep time; block.call }} end def after(time, &block) Thread.new { sleep time; block.call } end end
Version data entries
27 entries across 27 versions & 1 rubygems