method

find_and_refresh_command

ruby latest stable - Class: Bundler::Thor::Base::ClassMethods

Method not available on this version

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

find_and_refresh_command(name)
protected

Finds a command with the given name. If the command belongs to the current class, just return it, otherwise dup it and add the fresh copy to the current command hash.