method

prepare_for_invocation

prepare_for_invocation(key, name)
public

This method is responsible for receiving a name and find the proper class and command for it. The key is an optional parameter which is available only in class methods invocations (i.e. in Bundler::Thor::Group).