[前][次][番号順一覧][スレッド一覧]

ruby-changes:34183

From: zzak <ko1@a...>
Date: Sat, 31 May 2014 03:52:43 +0900 (JST)
Subject: [ruby-changes:34183] zzak:r46264 (trunk): * lib/delegate.rb: [DOC] Document raise in Delegator class

zzak	2014-05-31 03:52:30 +0900 (Sat, 31 May 2014)

  New Revision: 46264

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46264&view=revision

  Log:
    * lib/delegate.rb: [DOC] Document raise in Delegator class
      Patch by @lucasmazza. [Fixes GH-621]
      https://github.com/ruby/ruby/pull/621

  Modified files:
    trunk/ChangeLog
    trunk/lib/delegate.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46263)
+++ ChangeLog	(revision 46264)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat May 31 03:50:50 2014  Zachary Scott  <e@z...>
+
+	* lib/delegate.rb: [DOC] Document raise in Delegator class
+	  Patch by @lucasmazza. [Fixes GH-621]
+	  https://github.com/ruby/ruby/pull/621
+
 Fri May 30 21:23:26 2014  Tanaka Akira  <akr@f...>
 
 	* lib/webrick/server.rb: Use a pipe to detect server shutdown.
Index: lib/delegate.rb
===================================================================
--- lib/delegate.rb	(revision 46263)
+++ lib/delegate.rb	(revision 46264)
@@ -62,6 +62,12 @@ class Delegator < BasicObject https://github.com/ruby/ruby/blob/trunk/lib/delegate.rb#L62
   end
   # :startdoc:
 
+  ##
+  # :method: raise
+  # Use __raise__ if your Delegator does not have a object to delegate the
+  # raise method call.
+  #
+
   #
   # Pass in the _obj_ to delegate method calls to.  All methods supported by
   # _obj_ will be delegated to.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]