method
_retrieve_class_and_command
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Invocation
_retrieve_class_and_command(name, sent_command = nil)protected
This method simply retrieves the class and command to be invoked. If the name is nil or the given name is a command in the current class, use the given name and return self as class. Otherwise, call prepare_for_invocation in the current class.