1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/t.rb
Bill Robertson e7caf25d09 couple of tweaks in prep for using v8. switched malloc/free to new/
delete.  Changed class name to "Context"  Also tried to link V8,
but I don't know anything about the ruby make script.
2009-10-08 21:22:29 -04:00

9 lines
106 B
Ruby

require 'v8'
e = V8::Context.new
e.print("Hello World")
e.print("Hello World")
e.print("Hello World")