I always say "be thoughtful about method access control on your objects (e.g. private/protected/public)".

Unfortunately in Ruby you can still invoke a private method using obj.send(:method_name).

My refactor today broke code that was doing just that. :sad_panda:

Private methods are private for a reason, people.

Sign in to participate in the conversation
Isaac Su is one server in the network