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
209 209
            ::Kernel.warn "\#{caller_locations(1)[0]}: "#{mesg.dump}"\#{_.class}"'##{method}'
210 210
            _#{method_call}
211 211
          else
212
            _.#{method}(*args, &block)
212
            _.public_send(:#{method}, *args, &block)
213 213
          end
214 214
        end;
215 215
    end
216
-