7 ms·
I can't tell what .rb is intended to run on the ruby interpreter, what .rb is intended to run with Opal, and what .rb is intended to run on both.
by benatkin 15y ago
I can't tell what .rb is intended to run on the ruby interpreter, what .rb is intended to run with Opal, and what .rb is intended to run on both.
- india 15y agoOpal seems to be compiling the rb file to a js file. This js along with the supplied opal.js will run in the browser. Check out https://github.com/adambeynon/opal/tree/master/examples/browser https://github.com/adambeynon/opal/tree/master/examples/brow...