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