From d921b799747aacb47dc8bbca9b2eefe25159e9d5 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 23 Jan 2006 06:40:43 +0000 Subject: Add Object#instance_exec and Proc#bind git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/CHANGELOG | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activesupport/CHANGELOG') diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 1d517d8862..c448efbefb 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,9 @@ *SVN* +* Add Object#instance_exec, like instance_eval but passes its arguments to the block. (Active Support will not override the Ruby 1.9 implementation of this method.) [Sam Stephenson] + +* Add Proc#bind(object) for changing a proc or block's self by returning a Method bound to the given object. Based on why the lucky stiff's "cloaker" method. [Sam Stephenson] + * Fix merge and dup for hashes with indifferent access #3404 [kenneth.miller@bitfield.net] * Fix the requires in option_merger_test to unbreak AS tests. [Sam Stephenson] -- cgit v1.2.3