method_missing(m, *args, &block)
public
Handles the magic of delegation through __getobj__.
# File lib/delegate.rb, line 69
def method_missing(m, *args, &block)
target = self.__getobj__
begin
target.respond_to?(m) ? target.__send__(m, *args, &block) : super(m, *args, &block)
ensure
[email protected]_if {|t| %\A#{Regexp.quote(__FILE__)}:#{__LINE__-2}:" =~ t} if $@
end
end