Open dobrien501 opened 10 years ago
Hello. We had an example in our codebase where awesome print called private method Kernel#test instead of the public method on our object.
https://github.com/michaeldv/awesome_print/blob/master/lib/awesome_print/ext/active_record.rb#L47
Shouldnt public_send be called instead of send here?
public_send
send
Hello. We had an example in our codebase where awesome print called private method Kernel#test instead of the public method on our object.
https://github.com/michaeldv/awesome_print/blob/master/lib/awesome_print/ext/active_record.rb#L47
Shouldnt
public_send
be called instead ofsend
here?