method
method_visibility
ruby latest stable - Class:
Bundler::RubygemsIntegration
method_visibility(klass, method)public
No documentation available.
# 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