From 506b25aabf66c54cffe478958f8672f7fe6fa669 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 8 Dec 2015 05:27:10 +0000 Subject: error.c: name_err_local_variables * error.c (name_err_local_variables): new method NameError#local_variables for internal use only. [Feature #11777] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- iseq.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'iseq.c') diff --git a/iseq.c b/iseq.c index 17bfee4981..84d2d14689 100644 --- a/iseq.c +++ b/iseq.c @@ -2319,6 +2319,12 @@ rb_iseqw_line_trace_specify(VALUE iseqval, VALUE pos, VALUE set) return data.prev == 1 ? Qtrue : Qfalse; } +VALUE +rb_iseqw_local_variables(VALUE iseqval) +{ + return rb_iseq_local_variables(iseqw_check(iseqval)); +} + /* * Document-class: RubyVM::InstructionSequence * -- cgit v1.2.3