Module: RgGen::Core::Configuration
- Defined in:
- lib/rggen/core/configuration.rb,
lib/rggen/core/configuration/error.rb,
lib/rggen/core/configuration/loader.rb,
lib/rggen/core/configuration/feature.rb,
lib/rggen/core/configuration/component.rb,
lib/rggen/core/configuration/input_data.rb,
lib/rggen/core/configuration/hash_loader.rb,
lib/rggen/core/configuration/json_loader.rb,
lib/rggen/core/configuration/ruby_loader.rb,
lib/rggen/core/configuration/toml_loader.rb,
lib/rggen/core/configuration/yaml_loader.rb,
lib/rggen/core/configuration/feature_factory.rb,
lib/rggen/core/configuration/component_factory.rb
Defined Under Namespace
Modules: HashLoader, RaiseError Classes: Component, ComponentFactory, ConfigurationError, Feature, FeatureFactory, InputData, JSONLoader, Loader, RubyLoader, TOMLLoader, YAMLLoader
Class Method Summary collapse
Class Method Details
.setup(builder) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/rggen/core/configuration.rb', line 6 def self.setup(builder) builder.input_component_registry(:configuration) do register_global_component do component Component, ComponentFactory feature Feature, FeatureFactory end register_loader :ruby, RubyLoader register_loader :json, JSONLoader register_loader :toml, TOMLLoader register_loader :yaml, YAMLLoader end end |