Sha256: c6b1af7423d5ca6d1404532933296db755d57bdd859b34220b82926eb51241ba

Contents?: true

Size: 257 Bytes

Versions: 68

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true
new({ particle: :run }) do |params, code|
  code_found = @code_code[:code]
  instance_exec(params, &code_found) if code_found.is_a?(Proc)
end
a = box
a.code(:hello) do
  circle({ left: 333 })
end
wait 1 do
  a.run(:hello)
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
atome-0.5.5.7.1 vendor/assets/application/examples/code.rb
atome-0.5.5.7.0 vendor/assets/application/examples/code.rb
atome-0.5.5.6.9 vendor/assets/application/examples/code.rb
atome-0.5.5.6.8 vendor/assets/application/examples/code.rb
atome-0.5.5.6.7.9 vendor/assets/application/examples/code.rb
atome-0.5.5.6.6 vendor/assets/application/examples/code.rb
atome-0.5.5.6.5 vendor/assets/application/examples/code.rb
atome-0.5.5.6.4 vendor/assets/application/examples/code.rb