class Bindgen::ConfigReader::Loader
- Bindgen::ConfigReader::Loader
- Reference
- Object
Overview
Loader for named files. Used by Parser
to get referenced external
dependencies. See Parser.loader
to install a custom loader.
Defined in:
bindgen/config_reader/loader.crConstant Summary
-
ABSOLUTE_RX =
/^(?:[\\\/]|[a-z0-9]+:)/i
-
Regular expression matching the start of an absolute path
Instance Method Summary
-
#load(base_file : String, dependency : String)
Loads the dependency required by base_file.
Instance Method Detail
def load(base_file : String, dependency : String)
#
Loads the dependency required by base_file. Returns the read data, and the full path to the loaded file.