1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/spec_helper.rb

13 lines
213 B
Ruby
Raw Normal View History

require 'v8'
load File.expand_path '../c/context_helper.rb', __FILE__
def run_v8_gc
2012-05-17 11:15:30 -05:00
while !V8::C::V8::IdleNotification() do
end
end
def rputs(msg)
puts "<pre>#{ERB::Util.h(msg)}</pre>"
$stdout.flush
end