Name
SPVM::Builder::ConfigBuilder - Config Builder
Description
SPVM::Builder::ConfigBuilder class is the base class of a config builder.
Usage
package SPVM::MyClass::ConfigBuilder;
use base 'SPVM::Builder::ConfigBuilder';
sub build_config {
my ($self, $config) = @_;
# Build config
}
1;
Class Methods
new
my $config_builder = SPVM::Builder::ConfigBuilder->new(%options);
Create a new object blessed by the class name of the invocant and returns it.
Instance Methods
build_config
$config_builder->build_config($config);
Builds the config $config.
$config is a SPVM::Builder::Config object.
This method must be implemented in a child class.
Examples
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License