These are chat archives for opal/opal

18th
Sep 2016
Yehonathan Sharvit
@viebel
Sep 18 2016 15:34
I want to eval a piece of code coming from the user - as a string. And inspect the result
for instance x = "[1,2]"
Opal.eval(x)
Then I tried
Opal.top.$inspect(Opal.eval(x))
Yehonathan Sharvit
@viebel
Sep 18 2016 15:41
Opal.eval([1,2].inspect()) works fine