method

private_method?

ruby latest stable - Class: Bundler::Thor::Command

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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