<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,8 @@
+Fri Oct 16 20:09:55 2009  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* lib/delegate.rb (Delegator#freeze): #freeze should freeze self
+	  and the target at once.   [ruby-core:26118]
+
 Fri Oct 16 19:39:28 2009  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
 
 	* lib/delegate.rb (Delegator#respond_to_missing): warn if optional</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -199,6 +199,12 @@ class Delegator
     new
   end
 
+  # Freeze self and target at once.
+  def freeze
+    __getobj__.freeze
+    super
+  end
+
   @delegator_api = self.public_instance_methods
   def self.public_api   # :nodoc:
     @delegator_api</diff>
      <filename>lib/delegate.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8d44fb14918aa66e690f789bb7e6d19dd817f6eb</id>
    </parent>
  </parents>
  <author>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/skaes/matzruby/commit/2c9179d882d794c5050a659653549afe969bbe9b</url>
  <id>2c9179d882d794c5050a659653549afe969bbe9b</id>
  <committed-date>2009-10-16T04:11:00-07:00</committed-date>
  <authored-date>2009-10-16T04:11:00-07:00</authored-date>
  <message>* lib/delegate.rb (Delegator#freeze): #freeze should freeze self
  and the target at once.   [ruby-core:26118]

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>f59a334961c64e4b91f9340206f49e73aa708376</tree>
  <committer>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
