Sha256: 9c6b42aef47ae26a72eec452a5fed00129cc088907b727758be9cc79147230ab

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

# right management example

b = box({atome_id: :the_box, x: 99})
b.touch do
  b.authorization({ users: :all, write: false, password: :my_secret })
  b.color(:red, "false pass")
  b.color(:yellowgreen, b.authorization[:password])
  b.x(99, :my_secret)
  b.width(99, :my_secret)
  b.color(:purple, "false pass")

end

b2 = b.box({ x: 333, atome_id: :the_box2 })
b2.drag(true)
c = circle({ y: 96 ,atome_id: :the_circle})
c.touch do
  clear(:view)
  Atome.atomes.each do |atome|
    notification atome[0]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/authorisation.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/authorisation.rb