def_system_command(command, path) â Shell::SystemCommand
Class Public methods
Defines a command, registering path as a Shell method for the given command.
Shell::CommandProcessor.def_system_command "ls"
#=> Defines ls.
Shell::CommandProcessor.def_system_command "sys_sort", "sort"
#=> Defines sys_sort as sort