class Bindgen::FindPath::ShellChecker
- Bindgen::FindPath::ShellChecker
- Bindgen::FindPath::Checker
- Reference
- Object
Overview
Checker for a ShellCheck
.
Defined in:
bindgen/find_path/shell_checker.crConstructors
Instance Method Summary
-
#check(path : String) : Bool
Checks path by calling out to the configured shell command, expanding path into it.
Instance methods inherited from class Bindgen::FindPath::Checker
check(path : String) : Bool
check
Constructor methods inherited from class Bindgen::FindPath::Checker
create(config, is_file) : Checker
create
Constructor Detail
Instance Method Detail
def check(path : String) : Bool
#
Checks path by calling out to the configured shell command, expanding
path into it. STDOUT
is hidden, but STDERR
is shown. Only
succeeds if the command returned exit code 0
.