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.6.2.7 vendor/assets/application/examples/code.rb
atome-0.5.6.2.5 vendor/assets/application/examples/code.rb
atome-0.5.6.2.4 vendor/assets/application/examples/code.rb
atome-0.5.6.2.3 vendor/assets/application/examples/code.rb
atome-0.5.6.2.1 vendor/assets/application/examples/code.rb
atome-0.5.6.2.0 vendor/assets/application/examples/code.rb
atome-0.5.6.1.9 vendor/assets/application/examples/code.rb
atome-0.5.6.1.4 vendor/assets/application/examples/code.rb
atome-0.5.6.1.1 vendor/assets/application/examples/code.rb
atome-0.5.6.1.0 vendor/assets/application/examples/code.rb
atome-0.5.6.0.4 vendor/assets/application/examples/code.rb
atome-0.5.6.0.3 vendor/assets/application/examples/code.rb
atome-0.5.6.0.2 vendor/assets/application/examples/code.rb
atome-0.5.5.9.1 vendor/assets/application/examples/code.rb
atome-0.5.5.8.7 vendor/assets/application/examples/code.rb
atome-0.5.5.8.5 vendor/assets/application/examples/code.rb
atome-0.5.5.8.1 vendor/assets/application/examples/code.rb
atome-0.5.5.7.7 vendor/assets/application/examples/code.rb
atome-0.5.5.7.5 vendor/assets/application/examples/code.rb
atome-0.5.5.7.3 vendor/assets/application/examples/code.rb