Sha256: 64aa3696927a032936b4348be68d3bac447f763e3e5c96b75087b03de797c84a
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true b = box({ drag: true, id: :the_b }) c = b.circle({ left: 99, id: :the_c }) t = b.text({ data: :hello, left: 44, top: 44, id: :the_t }) c.touch(:down) do b.unfasten([c.id]) b.color(:green) t.data('circle unfasten') wait 3 do b.color(:red) t.data('unfasten all attached atomes') b.unfasten(:all) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.7.3.9 | vendor/assets/application/examples/unfasten.rb |