Share your Opal tips!

Please share your Opal knowledge, tips and recipes here, anything will do even the most elementary stuff!
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`)
1 Like

Nice idea CP :023: