Sha256: 021dd446f13420923915faf8f846516a10b574c57be6e83ad46c42f836d57719

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

grab(:user_view).color({ red: 0.8, green: 0.8, blue: 0.8, id: :active_color })
grab(:user_view).color( { red: 0.3, green:  0.3, blue: 0.3, id: :inactive_color } )

b=box
b.attached(:inactive_color)
puts b.attached
b.touch(true) do
  b.detached(:inactive_color)
  b.attached(:active_color)
  puts "detached objects are : #{b.attached}"
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/detached.rb
atome-0.5.4.1.7 vendor/assets/src/medias/rubies/examples/detached.rb
atome-0.5.4.1.3 vendor/assets/src/medias/rubies/examples/detached.rb
atome-0.5.4.1.2 vendor/assets/src/medias/rubies/examples/detached.rb
atome-0.5.4.1.1 vendor/assets/src/medias/rubies/examples/detached.rb
atome-0.5.4.1.0 vendor/assets/src/medias/rubies/examples/detached.rb
atome-0.5.4.0.9 vendor/assets/src/medias/rubies/examples/detached.rb