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
2012-05-09 14:46:07 -05:00

10 lines
152 B
Ruby

require 'v8'
def run_v8_gc
loop while !V8::C::V8::IdleNotification()
end
def rputs(msg)
puts "<pre>#{ERB::Util.h(msg)}</pre>"
$stdout.flush
end