def_system_command(command, path) â Shell::SystemCommand
Class Public methods
Defines a command, registering path
as a Shell method for the given command
.
1 2 3 4 5 | Shell::CommandProcessor.def_system_command "ls" #=> Defines ls. Shell::CommandProcessor.def_system_command "sys_sort" , "sort" #=> Defines sys_sort as sort |
Please login to continue.