method
find_and_refresh_command
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Base::ClassMethods
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.