require 'v8' def run_v8_gc while !V8::C::V8::IdleNotification() do end end def rputs(msg) puts "
#{ERB::Util.h(msg)}