class
Bindgen::Tool
- Bindgen::Tool
- Reference
- Object
Overview
Front-end tool class
Defined in:
bindgen/tool.crConstant Summary
-
Log =
::Log.for(self)
Constructors
-
.new(root_path : String, config : Configuration, show_stats : Bool = false, config_path : String | Nil = nil)
config_path is the file config was read from.
Instance Method Summary
-
#config : Configuration
The configuration.
- #database : TypeDatabase
-
#root_path : String
Path to the projects root, commonly the directory the YAML configuration file is contained in.
-
#run! : Int32
Runs the tool.
Constructor Detail
def self.new(root_path : String, config : Configuration, show_stats : Bool = false, config_path : String | Nil = nil)
#
config_path is the file config was read from. If given, the
configuration is read again after find_paths ran: the variables it
found are environment variables then, so conditions can test them, like
if_QT_VERSION_newer_or_6.6:.
Instance Method Detail
def config : Configuration
#
The configuration. Read again after find_paths ran, if config_path
was given.
def root_path : String
#
Path to the projects root, commonly the directory the YAML configuration file is contained in.