Fix access specifiers with private_class_methods instead of removing directly
private methods need to be called as method_name instead of ClassName#method_name
Merge pull request #2845 from akshaymohite/access-specifiers-fix

Fix access specifiers with private_class_methods instead of removing dir...