diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-17 12:38:52 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-17 12:38:52 +0000 |
commit | 1720a5bac44b590205257cf3acd0a3071738e6ec (patch) | |
tree | 8e04382b720437bb714b20163cfd28a5b3f135e7 /test/ruby/test_sprintf.rb | |
parent | b7cec43c8bea18f15ac24b5ae02c66e36b4d904f (diff) |
* include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed
as an argument.
* proc.c (bmcall): use the above function to avoid a block sharing.
[ruby-core:54626] [Bug #8341]
* test/ruby/test_proc.rb (TestProc#test_block_persist_between_calls):
run related tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_sprintf.rb')
0 files changed, 0 insertions, 0 deletions