Feature #971 ยป iseq.patch
iseq.c (working copy) | ||
---|---|---|
rb_define_method(rb_cISeq, "disassemble", ruby_iseq_disasm, 0);
|
||
rb_define_method(rb_cISeq, "to_a", iseq_to_a, 0);
|
||
rb_define_method(rb_cISeq, "eval", iseq_eval, 0);
|
||
/* disable this feature because there is no verifier. */
|
||
/* rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); */
|
||
(void)iseq_s_load;
|
||
rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1);
|
||
rb_define_singleton_method(rb_cISeq, "compile", iseq_s_compile, -1);
|
||
rb_define_singleton_method(rb_cISeq, "new", iseq_s_compile, -1);
|
||
rb_define_singleton_method(rb_cISeq, "compile_file", iseq_s_compile_file, -1);
|