4.3.2.2 Builder Name

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().