From 1d7798dc75218d3a3bffe7018afc341e04560187 Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 8 Jun 2012 22:46:49 +0000 Subject: * lib/delegate.rb: Added documentation for Delegator#!. Patch by Zachary Scott. [ruby-trunk - Feature #6534] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/delegate.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/delegate.rb') diff --git a/lib/delegate.rb b/lib/delegate.rb index 863c63ff58..e46e4f8c23 100644 --- a/lib/delegate.rb +++ b/lib/delegate.rb @@ -130,6 +130,9 @@ class Delegator < BasicObject __getobj__ != obj end + # + # Delegates ! to the \_\_getobj\_\_ + # def ! !__getobj__ end @@ -285,8 +288,7 @@ class SimpleDelegator