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.7.3.1 vendor/assets/application/examples/code.rb
atome-0.5.7.3.0 vendor/assets/application/examples/code.rb
atome-0.5.7.1.8 vendor/assets/application/examples/code.rb
atome-0.5.7.1.7 vendor/assets/application/examples/code.rb
atome-0.5.7.1.0 vendor/assets/application/examples/code.rb
atome-0.5.7.0.7 vendor/assets/application/examples/code.rb
atome-0.5.7.0.5 vendor/assets/application/examples/code.rb
atome-0.5.7.0.4 vendor/assets/application/examples/code.rb
atome-0.5.7.0.3 vendor/assets/application/examples/code.rb
atome-0.5.7.0.2 vendor/assets/application/examples/code.rb
atome-0.5.6.8.7 vendor/assets/application/examples/code.rb
atome-0.5.6.8.6 vendor/assets/application/examples/code.rb
atome-0.5.6.8.5 vendor/assets/application/examples/code.rb
atome-0.5.6.8.3 vendor/assets/application/examples/code.rb
atome-0.5.6.7.8 vendor/assets/application/examples/code.rb
atome-0.5.6.7.7 vendor/assets/application/examples/code.rb
atome-0.5.6.7.6 vendor/assets/application/examples/code.rb
atome-0.5.6.7.5 vendor/assets/application/examples/code.rb
atome-0.5.6.7.4 vendor/assets/application/examples/code.rb
atome-0.5.6.7.3 vendor/assets/application/examples/code.rb