abstract class Bindgen::FindPath::Checker
- Bindgen::FindPath::Checker
- Reference
- Object
Overview
Path checker base class.
Direct Known Subclasses
- Bindgen::FindPath::AnyOfChecker
- Bindgen::FindPath::PathChecker
- Bindgen::FindPath::ShellChecker
- Bindgen::FindPath::VersionChecker
Defined in:
bindgen/find_path/checker.crConstructors
-
.create(config, is_file) : Checker
Creates the correct checker for the config.
Instance Method Summary
-
#check(path : String) : Bool
Checks if path is acceptable.
Constructor Detail
Creates the correct checker for the config.
Instance Method Detail
abstract
def check(path : String) : Bool
#
Checks if path is acceptable. Returns true
if so, false
otherwise.