vendor/assets/src/medias/rubies/examples/code.rb in atome-0.5.3.2 vs vendor/assets/src/medias/rubies/examples/code.rb in atome-0.5.3.4
- old
+ new
@@ -2,10 +2,10 @@
a=Atome.new(code: { type: :code, renderers: [:headless], parents: [], children: [] }) do |params_found|
puts "the param is #{params_found}"
end
a.run(:super)
-c=element do |params_found|
+c=element({}) do |params_found|
puts "you want me to print: #{params_found}"
end
c.run('it works')
\ No newline at end of file