« Prev 4.6.2.1 Adding a Custom Builder to an Environment | Table of Contents | Next » 4.6.2.3 Custom Builder Constructor |
By default, the builder name is taken from the last component of the class name.
For example, a class called Rscons::Builders::Mine
would be usable in the
Rsconscript with env.Mine()
.
A builder author can override the builder name by defining a class method
within the builder class called name
.
For example, with the following builder definition:
class Rscons::Builders::MySpecialBuilder < Rscons::Builder def self.name "Special" end end
This builder would be registered in the Rsconscript with env.Special()
.
« Prev 4.6.2.1 Adding a Custom Builder to an Environment | Table of Contents | Next » 4.6.2.3 Custom Builder Constructor |