diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-02-09 19:06:57 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-02-11 08:46:44 -0800 |
commit | 50065dad7f955cd069e43a83793a7ca3cff96b26 (patch) | |
tree | 22b86c8edbc9cf954cc3369f3c35cb929f9e6d39 /vm_eval.c | |
parent | de3883e7823c89ce90d7661ef5bb3b7eb60968db (diff) |
Remove rb_eval_cmd
This was related to $SAFE, and was deprecated in 2.7. I missed it
earlier when removing the other $SAFE-related code.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2899
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1748,13 +1748,6 @@ rb_eval_cmd_kw(VALUE cmd, VALUE arg, int kw_splat) return val; } -VALUE -rb_eval_cmd(VALUE cmd, VALUE arg, int _level) -{ - rb_warn("rb_eval_cmd will be removed in Ruby 3.0"); - return rb_eval_cmd_kw(cmd, arg, RB_NO_KEYWORDS); -} - /* block eval under the class/module context */ static VALUE |