method

prepare_for_invocation

ruby latest stable - Class: Bundler::Thor::Invocation::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.

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).