Sha256: 212dae1016b3abdc34b1ee93fed3a0dcfd6dc0f8e21029e6e252e9a5f1c9a913
Contents?: true
Size: 572 Bytes
Versions: 14
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true c=circle({width: 66, height: 66}) t1=c.text({id: :first, data: 0, left: 28}) first_repeater=repeat(1, repeat = 99) do |counter| t1.data(counter) end c.touch(true) do stop({ repeat: first_repeater }) t1.data(:stopped) end cc=circle({width: 66, height: 66, left: 90 }) t2=cc.text({id: :second, data: 0, left: 28}) # # alert first_repeater my_repeater=repeat(1, repeat = 9) do |counter| t2.data(counter) end # # cc.touch(true) do stop({ repeat: my_repeater }) t2.data(:stopped) end # use Float::INFINITY to infinite repeat
Version data entries
14 entries across 14 versions & 1 rubygems