Sha256: 6f5e5f758e54ae2c8cdf389c4b5db2bd70f9ce0a63431b438dcaae079cc1fc70

Contents?: true

Size: 433 Bytes

Versions: 83

Compression:

Stored size: 433 Bytes

Contents

#  frozen_string_literal: true

# the grab method is used to retrieve atome using their ID
a = box({ id: :my_box })

# to alter or add a particle you can use the variable, here we set the left value
a.left(33)

# to alter or add a particle you can use the variable
# it's also possible to alter or add a particle without a variable using grab and the ID of the atome , here we set the top value

wait 1 do
  grab(:my_box).top(5)
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
atome-0.5.6.5.7 vendor/assets/application/examples/grab.rb
atome-0.5.6.5.6 vendor/assets/application/examples/grab.rb
atome-0.5.6.5.4 vendor/assets/application/examples/grab.rb
atome-0.5.6.5.1 vendor/assets/application/examples/grab.rb
atome-0.5.6.4.8 vendor/assets/application/examples/grab.rb
atome-0.5.6.4.5 vendor/assets/application/examples/grab.rb
atome-0.5.6.4.2 vendor/assets/application/examples/grab.rb
atome-0.5.6.4.1 vendor/assets/application/examples/grab.rb
atome-0.5.6.4.0 vendor/assets/application/examples/grab.rb
atome-0.5.6.3.9 vendor/assets/application/examples/grab.rb
atome-0.5.6.3.6 vendor/assets/application/examples/grab.rb
atome-0.5.6.3.5 vendor/assets/application/examples/grab.rb
atome-0.5.6.3.1 vendor/assets/application/examples/grab.rb
atome-0.5.6.3.0 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.9 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.7 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.5 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.4 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.3 vendor/assets/application/examples/grab.rb
atome-0.5.6.2.1 vendor/assets/application/examples/grab.rb