Project

General

Profile

Feature #6534 » 0001-Delegator-documentation-for-the-bang-operator.patch

zzak (zzak _), 06/07/2012 09:23 AM

View differences:

lib/delegate.rb
__getobj__ != obj
end
#
# Delegates ! to the __getobj__
#
def !
!__getobj__
end
......
end
end
# :stopdoc:
def Delegator.delegating_block(mid)
def Delegator.delegating_block(mid) # :nodoc:
lambda do |*args, &block|
target = self.__getobj__
begin
......
end
end
end
# :startdoc:
#
# The primary interface to this library. Use to setup delegation when defining
(2-2/2)