diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-08 02:37:16 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-08 02:37:16 +0000 |
commit | db051011d68950cd1261f91e724513282d419d9e (patch) | |
tree | d27e726831d1555253d08477275055f7b5de0cf0 /include | |
parent | 3adc9834d18ee6ff67dfca060eee170025ce3fef (diff) |
* eval.c (rb_mod_refine), vm_eval.c (rb_yield_refine_block):
Module#refine activates all refinements defined in that module
only in a given block.
* string.c (sym_to_proc, sym_call): don't use refinements.
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 56e78a18d4..f25c67aaef 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1333,8 +1333,6 @@ VALUE rb_funcall(VALUE, ID, int, ...); VALUE rb_funcall2(VALUE, ID, int, const VALUE*); VALUE rb_funcall3(VALUE, ID, int, const VALUE*); VALUE rb_funcall_passing_block(VALUE, ID, int, const VALUE*); -VALUE rb_funcall_passing_block_with_refinements(VALUE, ID, int, - const VALUE*, VALUE); int rb_scan_args(int, const VALUE*, const char*, ...); VALUE rb_call_super(int, const VALUE*); |