mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/delegate.rb: [DOC] Document raise in Delegator class
Patch by @lucasmazza. [Fixes GH-621] https://github.com/ruby/ruby/pull/621 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5acaa0313
commit
cfe2cbda54
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat May 31 03:50:50 2014 Zachary Scott <e@zzak.io>
|
||||
|
||||
* 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@fsij.org>
|
||||
|
||||
* lib/webrick/server.rb: Use a pipe to detect server shutdown.
|
||||
|
|
|
@ -62,6 +62,12 @@ class Delegator < BasicObject
|
|||
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.
|
||||
|
|
Loading…
Reference in a new issue