Guest User

Untitled

a guest
Jan 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. require 'fiber'
  2. require 'v8'
  3.  
  4. class Ctx
  5. def run(arg)
  6. V8::Context.new
  7. end
  8. end
  9.  
  10.  
  11. ctx = V8::Context.new :with => Ctx.new
  12. ctx.eval("run(1)")
Add Comment
Please, Sign In to add comment