Skip to content

struct Athena::Validator::Spec::MockMetadataFactory(T1, T2, T3, T4, T5)
inherits Struct #

A spec implementation of AVD::Metadata::MetadataFactoryInterface, supporting a fixed number of additional metadatas

Included modules

Athena::Validator::Metadata::MetadataFactoryInterface

Class methods#

.new #

View source

Methods#

#add_metadata(klass : AVD::Validatable::Class, metadata : AVD::Metadata::ClassMetadata) : Nil #

View source

#metadata(object : AVD::Validatable) : AVD::Metadata::ClassMetadata #

Returns an AVD::Metadata::ClassMetadata instance for the related AVD::Validatable object.

View source