method
private_method?
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Command
private_method?(instance)protected
No documentation available.
# File lib/bundler/vendor/thor/lib/thor/command.rb, line 83
def private_method?(instance)
!(instance.private_methods & [name.to_s, name.to_sym]).empty?
end