test(command, file1, file2) â true or false[command, file1, file2] â true or false
Instance Public methods
Tests if the given command exists in file1, or
optionally file2.
Example:
sh[?e, "foo"]
sh[:e, "foo"]
sh["e", "foo"]
sh[:exists?, "foo"]
sh["exists?", "foo"]
top_level_test
[]