diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 05:27:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 05:27:10 +0000 |
commit | 8a6e731a138176c33e95d8964800b06905beaf83 (patch) | |
tree | e495e3702055d35e72535494ac9bef541ca5a81c /iseq.c | |
parent | 994de97db4704a7bc50e452b153d743e8c96c57f (diff) | |
download | ruby-8a6e731a138176c33e95d8964800b06905beaf83.tar.gz |
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
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 * |