Sha256: 2104c3744824c89ad0d38b0aa125dbc7905f4b2518958e60b62a212f263c3639

Contents?: true

Size: 651 Bytes

Versions: 10

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

support = box({ top: 250, left: 12, width: 300, height: 40, smooth: 9, color: { red: 0.3, green: 0.3, blue: 0.3 }, id: :support })

support.shadow({
                 id: :s3,
                 left: 3, top: 3, blur: 9,
                 invert: true,
                 red: 0, green: 0, blue: 0, alpha: 0.7
               })



box({ id: :the_boxy })



support.import(true) do |content|
  puts "add code here, content:  #{content}"
end


importer do |val|
  alert "case 21 #{val}"
end

# importer(:all) do |val|
#   alert "case 21 #{val}"
# end

importer('the_boxy') do |val|
  alert "yes !!! exception found : #{val}"
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
atome-0.5.6.1.4 vendor/assets/application/examples/import.rb
atome-0.5.6.1.1 vendor/assets/application/examples/import.rb
atome-0.5.6.1.0 vendor/assets/application/examples/import.rb
atome-0.5.6.0.4 vendor/assets/application/examples/import.rb
atome-0.5.6.0.3 vendor/assets/application/examples/import.rb
atome-0.5.6.0.2 vendor/assets/application/examples/import.rb
atome-0.5.5.9.1 vendor/assets/application/examples/import.rb
atome-0.5.5.8.7 vendor/assets/application/examples/import.rb
atome-0.5.5.8.5 vendor/assets/application/examples/import.rb
atome-0.5.5.8.1 vendor/assets/application/examples/import.rb