Skip to content

Instantly share code, notes, and snippets.

@georgyangelov
Created March 15, 2015 13:48
Show Gist options
  • Save georgyangelov/13bd5ed57ac9533e30b6 to your computer and use it in GitHub Desktop.
Save georgyangelov/13bd5ed57ac9533e30b6 to your computer and use it in GitHub Desktop.
require 'v8'
V8::C::HandleScope() do
template = V8::C::ObjectTemplate.New()
context = V8::C::Context.New(nil, template)
context.Enter
p V8::C::Object.New()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment