I need to get the content of a proc send to js by Opal ruby. I am only using the static version of Opal, Opal-native, opal-parser. how can I proceed ?
def parse_proc params
#### how can I get proc content?
end
def touch(&proc)
parse_proc proc
end
b=box()
c=circle()
b.touch do
b.color(:red)
c.x=200
end