Sha256: 3b4e6e2651f87ed7398ce4c5f0aafbf20a2d8358c5a949d89a34bdd4d037d806
Contents?: true
Size: 418 Bytes
Versions: 15
Compression:
Stored size: 418 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
15 entries across 15 versions & 1 rubygems