struct Athena::Validator::Spec::MockMetadataFactory(T1, T2, T3, T4, T5)
- Athena::Validator::Spec::MockMetadataFactory(T1, T2, T3, T4, T5)
- Struct
- Value
- Object
Overview
A spec implementation of AVD::Metadata::MetadataFactoryInterface
, supporting a fixed number of additional metadatas
Included Modules
Defined in:
spec.crConstructors
Instance Method Summary
- #add_metadata(klass : AVD::Validatable::Class, metadata : AVD::Metadata::ClassMetadata) : Nil
- #initialize
-
#metadata(object : AVD::Validatable) : AVD::Metadata::ClassMetadata
Returns an
AVD::Metadata::ClassMetadata
instance for the relatedAVD::Validatable
object.
Instance methods inherited from module Athena::Validator::Metadata::MetadataFactoryInterface
metadata(object : AVD::Validatable) : AVD::Metadata::ClassMetadata
metadata
Constructor Detail
Instance Method Detail
def add_metadata(klass : AVD::Validatable::Class, metadata : AVD::Metadata::ClassMetadata) : Nil
#
Description copied from module Athena::Validator::Metadata::MetadataFactoryInterface
Returns an AVD::Metadata::ClassMetadata
instance for the related AVD::Validatable
object.