require 'lib/tomato' t = Tomato.new t.run("debug()") t.bind_object(String, "rb.string") t.run("debug(new rb.string());") puts t.run("var v = new rb.string('Hi there!'); debug(v.to_s()); v;").inspect