Sha256: 34c23a1d6883e002196d6dd42b6076a5b498a49799f74df4327abad9f2fdd948
Contents?: true
Size: 416 Bytes
Versions: 25
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true b=box({id: :the_box}) b.text({id: :the_text, left: 90, top: 30, data: :ok}) b.text({id: :the_text2, left: 190, top: 30, data: :hello}) wait 1 do b.text.each_with_index do |el, _index| grab(el).left(30) end # b.text.left(30) wait 1 do b.text.color(:white) b.text.each_with_index do |el, index| grab(el).left(30+30*index) end b.color(:black) end end
Version data entries
25 entries across 25 versions & 1 rubygems