Bug #13107 » 0001-forwardable.rb-use-public_send-to-call-method.patch
| 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
|
||