Skip to content

module Athena::Config::ConfigurationResolverInterface #

A type that allows resolving a specific configuration object by type. The main usecase for this type is to abstract how a configuration object is provided; making testing/future refactors easier. See ACFA::Resolvable for details.

Direct including types



abstract #resolve(_type : _) #

Resolves the configuration object for the given _type.

Raises a NotImplementedError if no #resolve method exists for the given _type.

View source

abstract #resolve : ACF::Base #

Returns the ACF::Base configuration object.

View source