Sha256: 893ad1921f304a2384d811d1f9d46400d502f38c16a4c1ccdd0ed70567c3b46e

Contents?: true

Size: 336 Bytes

Versions: 7

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true
# batch
b=box({ id: :b1 })
b.box({ id: :b2, left: 220 })
b.box({ id: :b3, left: 340 })
b.batch([:b2, :b3])
# puts "----- batch ------"
# puts "=> the batch found is #{a}"
# p a.batch.value
b.batch.color(:red).rotate(33)
b.batch.each do |el|
  el.height(77).blur(9)
end
wait 1 do
  puts b.batch.top(0)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
atome-0.5.4.1.9 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.1.7 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.1.3 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.1.2 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.1.1 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.1.0 vendor/assets/src/medias/rubies/examples/batch.rb
atome-0.5.4.0.9 vendor/assets/src/medias/rubies/examples/batch.rb