class Thor::Command
def public_method?(instance) #:nodoc:
Given a target, checks if this class name is a public method.
def public_method?(instance) #:nodoc: !(instance.public_methods & [name.to_s, name.to_sym]).empty? end
def public_method?(instance) #:nodoc: !(instance.public_methods & [name.to_s, name.to_sym]).empty? end