method

normalize_command_name

ruby latest stable - Class: Bundler::Thor

Method not available on this version

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

normalize_command_name(meth)
protected

receives a (possibly nil) command name and returns a name that is in the commands hash. In addition to normalizing aliases, this logic will determine if a shortened command is an unambiguous substring of a command or alias.

normalize_command_name also converts names like animal-prison into animal_prison.