# File lib/bundler/rubygems_integration.rb, line 606 def method_visibility(klass, method) if klass.private_method_defined?(method) :private elsif klass.protected_method_defined?(method) :protected else :public end end