From: Myron Marston Date: 2011-09-15T15:26:46+09:00 Subject: [ruby-core:39562] [Ruby 1.9 - Bug #5328][Open] Splat args are treated wrongly in instance_exec and class_exec Issue #5328 has been reported by Myron Marston. ---------------------------------------- Bug #5328: Splat args are treated wrongly in instance_exec and class_exec http://redmine.ruby-lang.org/issues/5328 Author: Myron Marston Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0] This gist demonstrates the issue: https://gist.github.com/1218664 On 1.8.7, instance_exec and class_exec treat splat block args the same as method splat args. On 1.9, it is treated differently and this is very unexpected. -- http://redmine.ruby-lang.org