Share your Opal tips!

Please share your Opal knowledge, tips and recipes here, anything will do even the most elementary stuff!
like:
To wrap around native javascript object, variable and etc, and to use it as ruby object,
simply use:

`
var foo = {bar: "baz", cux: "doe"}
`
ruby_foo = Native(`foo`)
p ruby_foo.bar
=>
"baz"
1 Like

Nice idea CP :023: