Sha256: 5d1b28d54f122e49a488e3b9aaf95595892c04bb9f973b31d95428a0bbf41a58
Contents?: true
Size: 328 Bytes
Versions: 4
Compression:
Stored size: 328 Bytes
Contents
class Shoes module Swt class Timer def initialize(dsl, app, blk) @blk = blk task = proc do unless app.real.disposed? eval_block end end ::Swt.display.timer_exec(dsl.n, task) end def eval_block @blk.call end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre6 | lib/shoes/swt/timer.rb |
shoes-swt-4.0.0.pre5 | lib/shoes/swt/timer.rb |
shoes-swt-4.0.0.pre4 | lib/shoes/swt/timer.rb |
shoes-swt-4.0.0.pre3 | lib/shoes/swt/timer.rb |