Project

General

Profile

Bug #13107 » 0001-forwardable.rb-use-public_send-to-call-method.patch

eugeneius (Eugene Kenny), 01/08/2017 01:48 AM

View differences:

lib/forwardable.rb
::Kernel.warn "\#{caller_locations(1)[0]}: "#{mesg.dump}"\#{_.class}"'##{method}'
_#{method_call}
else
_.#{method}(*args, &block)
_.public_send(:#{method}, *args, &block)
end
end;
end
(1-1/2)