In order to execute a command on your OS, you need to define it as a Shell method.
Alternatively, you can execute any command via #system even if it is not defined.
def_system_command(command, path) â Shell::SystemCommand Class Public methods Defines
new(shell) Class Public methods
find_system_command(command) Instance Public methods private functions
initialize() Class Public methods
expand_path(path) Instance Public methods
transact { block } Instance Public methods Executes a block as self
append(to, filter) Instance Public methods
foreach(path, record_separator) â Enumeratorforeach(path, record_separator) { block } Instance Public methods
alias_map() Class Public methods Returns a list of aliased commands
rmdir(path) Instance Public methods Same as
Page 2 of 3