diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 23:24:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 23:24:57 +0000 |
commit | f64ba5d5197b8e2db871bbd16750ad7766a3b931 (patch) | |
tree | 934c568061f88beabfbbe0c2b449f2579c7c9073 /ext/-test-/iseq_load/iseq_load.c | |
parent | 14b42c28ff7e026a17299ea1d71d81ffa3c82d7b (diff) | |
download | ruby-f64ba5d5197b8e2db871bbd16750ad7766a3b931.tar.gz |
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
Diffstat (limited to 'ext/-test-/iseq_load/iseq_load.c')
-rw-r--r-- | ext/-test-/iseq_load/iseq_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/iseq_load/iseq_load.c b/ext/-test-/iseq_load/iseq_load.c index ffdde347e1..b4b9a8aa3d 100644 --- a/ext/-test-/iseq_load/iseq_load.c +++ b/ext/-test-/iseq_load/iseq_load.c @@ -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); } |