mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
iseq_load.c: rb_path2class
* ext/-test-/iseq_load/iseq_load.c (Init_iseq_load): use rb_path2class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14b42c28ff
commit
f64ba5d519
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ iseq_load(int argc, VALUE *argv, VALUE self)
|
|||
void
|
||||
Init_iseq_load(void)
|
||||
{
|
||||
VALUE rb_cISeq = rb_eval_string("RubyVM::InstructionSequence");
|
||||
VALUE rb_cISeq = rb_path2class("RubyVM::InstructionSequence");
|
||||
|
||||
rb_define_singleton_method(rb_cISeq, "iseq_load", iseq_load, -1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue