#include "v8.h" #include "v8_ref.h" #include "v8_script.h" #include "converters.h" using namespace v8; namespace { VALUE Compile(VALUE self, VALUE source, VALUE source_name) { Local src(rr_rb2v8(source)->ToString()); Local src_name(rr_rb2v8(source_name)->ToString()); return rr_v8_ref_create(self, Script::Compile(src, src_name)); } VALUE Run(VALUE self) { Local